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 |
---|---|
BinData() | Returns a binary data object. |
BulkWriteResult() | Wrapper around the result set from Bulk.execute() . |
Date() | Creates a date object. By default creates a date object including the current date. |
ObjectId() | Returns an ObjectId. |
ObjectId.getTimestamp() | Returns the timestamp portion of an ObjectId. |
ObjectId.toString() | Displays the string representation of an ObjectId. |
ObjectId.valueOf() | Displays the str attribute of an ObjectId as a hexadecimal string. |
UUID() | Converts a 32-byte hexadecimal string to the UUID BSON subtype. |
WriteResult() | Wrapper around the result set from write methods. |
WriteResult.hasWriteError() | Returns a boolean specifying whether the results include WriteResult.writeError . |
WriteResult.hasWriteConcernError() | Returns a boolean specifying whether whether the results include WriteResult.writeConcernError . |