Convert ObjectId to epoc
The Convert ObjectId to epoc mapping (objectid) transforms a timestamp found at the from path into a MongoDB-compatible ObjectId, which is then stored at the to path. Supports both second and millisecond timestamps.
Attributes for Convert ObjectId to epoc
| Attribute | Required | Description |
|---|---|---|
| From | Yes | Defines the source field for the mapping. |
| To | Yes | Defines where the result should be inserted. |
| Precedence | Yes | Determines the order in which this mapping is applied relative to others. |
| Function type | Yes | Defines the function type of the mapping. Needs to be "Date function". |
| Function | Yes | Should be set to "Convert ObjectId to epoc". |