Create an ObjectId type
Optional
inputId: string | number | Uint8Array | ObjectId | ObjectIdLikeCan be a 24 character hex string, 12 byte binary Buffer, or a number.
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.