Class ClusteredIndexOptions<TDocument>
Options for creating a clustered index.
public class ClusteredIndexOptions<TDocument>
Type Parameters
TDocument
The document type.
- Inheritance
-
ClusteredIndexOptions<TDocument>
- Inherited Members
Constructors
- ClusteredIndexOptions()
Initializes a new instance of the ClusteredIndexOptions<TDocument> class.
Properties
- Key
Gets or sets the index key, which must currently be {_id: 1}.
- Name
Gets or sets the index name.
- Unique
Gets or sets whether the index entries must be unique, which currently must be true.