共用方式為


IWithIndex Interface

Definition

The stage of the mongo collection update allowing to set indexes.

public interface IWithIndex
type IWithIndex = interface
Public Interface IWithIndex
Derived

Methods

WithIndex(MongoIndex)

Specifies a mongo index.

WithIndex(MongoIndexKeys, MongoIndexOptions)

Specifies a mongo index.

WithIndexesAppend(IList<MongoIndex>)

Appends all mongo indexes to current indexes.

WithIndexesReplace(IList<MongoIndex>)

Replaces the mongo indexes.

WithoutIndexes()

Removes all mongo indexes.

Applies to