Create a new ObjectID instance.
The generation time of this ObjectId instance.
Compares the equality of this ObjectID with otherID.
Generate a 12 byte id buffer used in ObjectID's.
Returns the generation date (accurate up to the second) that this ID was generated.
Return the ObjectID id as a 24 byte hex string representation.
Get the timestamp and validate correctness.
Creates an ObjectID from a hex string representation of an ObjectID.
Creates an ObjectID from a second based number, with the rest of the ObjectID zeroed out. Used for comparisons or sorting the ObjectID.
Checks if a value is a valid bson ObjectId.
Generated using TypeDoc