Click or drag to resize
CollectionOptions Methods

The CollectionOptions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberSetAutoIndexId
Sets whether to automatically create an index on the _id element.
Public methodStatic memberSetCapped
Sets whether the collection is capped.
Public methodStatic memberSetMaxDocuments
Sets the max number of documents in a capped collection.
Public methodStatic memberSetMaxSize
Sets the max size of a capped collection.
Public methodStatic memberSetStorageEngineOptions
Sets the storage engine options.
Top
See Also