Mongoose automatically adds a conveniency "_id" getter on the base ObjectId class
Static cacheThe ObjectId bytes
Compares the equality of this ObjectId with otherID.
ObjectId instance to compare against.
Static createStatic createStatic createStatic generateStatic isChecks if a value is a valid bson ObjectId
ObjectId instance to validate.
Generated using TypeDoc
A class representation of the BSON ObjectId type.