IMongoIndexManagerTDocument Interface |
An interface representing methods used to create, delete and modify indexes.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax public interface IMongoIndexManager<TDocument>
Public Interface IMongoIndexManager(Of TDocument)
type IMongoIndexManager<'TDocument> = interface end
Type Parameters
- TDocument
- The type of the document.
The IMongoIndexManagerTDocument type exposes the following members.
Properties Methods
| Name | Description |
---|
| CreateMany(IEnumerableCreateIndexModelTDocument, CancellationToken) |
Creates multiple indexes.
|
| CreateMany(IClientSessionHandle, IEnumerableCreateIndexModelTDocument, CancellationToken) |
Creates multiple indexes.
|
| CreateManyAsync(IEnumerableCreateIndexModelTDocument, CancellationToken) |
Creates multiple indexes.
|
| CreateManyAsync(IClientSessionHandle, IEnumerableCreateIndexModelTDocument, CancellationToken) |
Creates multiple indexes.
|
| CreateOne(IndexKeysDefinitionTDocument, CreateIndexOptions, CancellationToken) |
Creates an index.
|
| CreateOne(IClientSessionHandle, IndexKeysDefinitionTDocument, CreateIndexOptions, CancellationToken) |
Creates an index.
|
| CreateOneAsync(IndexKeysDefinitionTDocument, CreateIndexOptions, CancellationToken) |
Creates an index.
|
| CreateOneAsync(IClientSessionHandle, IndexKeysDefinitionTDocument, CreateIndexOptions, CancellationToken) |
Creates an index.
|
| DropAll(CancellationToken) |
Drops all the indexes.
|
| DropAll(IClientSessionHandle, CancellationToken) |
Drops all the indexes.
|
| DropAllAsync(CancellationToken) |
Drops all the indexes.
|
| DropAllAsync(IClientSessionHandle, CancellationToken) |
Drops all the indexes.
|
| DropOne(String, CancellationToken) |
Drops an index by its name.
|
| DropOne(IClientSessionHandle, String, CancellationToken) |
Drops an index by its name.
|
| DropOneAsync(String, CancellationToken) |
Drops an index by its name.
|
| DropOneAsync(IClientSessionHandle, String, CancellationToken) |
Drops an index by its name.
|
| List(CancellationToken) |
Lists the indexes.
|
| List(IClientSessionHandle, CancellationToken) |
Lists the indexes.
|
| ListAsync(CancellationToken) |
Lists the indexes.
|
| ListAsync(IClientSessionHandle, CancellationToken) |
Lists the indexes.
|
TopRemarks See Also