Docs Menu
Docs Home
/
MongoDB Manual
/ /

Object Constructors and Methods

Note

For details on a specific method, including syntax and examples, click on the link to the method's reference page.

Name
Description
Creates a binary object from a base64 value.
Creates a binary object from a hexadecimal value.
Wrapper around the result set from Bulk.execute().
Creates a date object. By default creates a date object including the current date.
Returns an ObjectId.
Creates an ObjectId from a base64 value.
Creates an ObjectId from a hexadecimal value.
Returns the timestamp portion of an ObjectId.
Displays the string representation of an ObjectId.
Displays the str attribute of an ObjectId as a hexadecimal string.
Converts a 32-byte hexadecimal string to the UUID BSON subtype.
Wrapper around the result set from write methods.
Returns a boolean specifying whether the results include WriteResult.writeError.
Returns a boolean specifying whether whether the results include WriteResult.writeConcernError.
← sh.updateZoneKeyRange()