CreateCollection
Creates a collection.
MongoDB always automatically creates a non-existing collection on the first insert. This method is useful to customize the options of the collection.
Example
users.create {}Content copied to clipboard
External resources
Properties
Functions
Link copied to clipboard
Makes this node immutable.
Link copied to clipboard
Returns a simplified (but equivalent) expression to the current expression.
Link copied to clipboard
Writes the result of simplifying to a new BsonDocument.
Link copied to clipboard
Writes the result of simplifying this expression into writer.