| CollectionOptions Methods |
The CollectionOptions type exposes the following members.
| Name | Description | |
|---|---|---|
| SetAutoIndexId |
Sets whether to automatically create an index on the _id element.
| |
| SetCapped |
Sets whether the collection is capped.
| |
| SetMaxDocuments |
Sets the max number of documents in a capped collection.
| |
| SetMaxSize |
Sets the max size of a capped collection.
| |
| SetStorageEngineOptions |
Sets the storage engine options.
|