Class CreateCollectionOptions
Options for creating a collection.
- Inheritance
-
Create
Collection Options
- Derived
- Inherited Members
Properties
- Auto
Index Id Gets or sets a value indicating whether to automatically create an index on the _id.
- Capped
Gets or sets a value indicating whether the collection is capped.
- Change
Stream Pre And Post Images Options Gets or sets Gets or sets a change streams pre and post images options.
- Collation
Gets or sets the collation.
- Encrypted
Fields Gets or sets encrypted fields.
- Expire
After Gets or sets a timespan indicating how long documents in a time series collection should be retained.
- Index
Option Defaults Gets or sets the index option defaults.
- Max
Documents Gets or sets the maximum number of documents (used with capped collections).
- Max
Size Gets or sets the maximum size of the collection (used with capped collections).
- No
Padding Gets or sets whether padding should not be used.
- Serializer
Registry Gets or sets the serializer registry.
- Storage
Engine Gets or sets the storage engine options.
- Time
Series Options Gets or sets the Time
Series to use when creating a time series collection.Options
- Use
Power Of2 Sizes Gets or sets a value indicating whether to use power of 2 sizes.
- Validation
Action Gets or sets the validation action.
- Validation
Level Gets or sets the validation level.