You are viewing an offline version of MongoDB documentation. Some page features might be unavailable. To view the latest version of the page or use interactive features, visit the live page.
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. | |
Returns a binary data object. | |
Wrapper around the result set from | |
Creates a date object. By default creates a date object including the current date. | |
Returns a binary data object. | |
Returns an ObjectId. | |
Creates an ObjectId from a base64 value. | |
Creates an ObjectId from a hexadecimal value. | |
Returns the timestamp portion of an ObjectId. | |
Returns the string representation of an ObjectId. | |
Converts a 32-byte hexadecimal string to the UUID BSON subtype. | |
Wrapper around the result set from write methods. |