Table of Contents

Class IndexKeysDefinitionExtensions

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Extension methods for an index keys definition.

public static class IndexKeysDefinitionExtensions
Inheritance
IndexKeysDefinitionExtensions
Inherited Members

Methods

Ascending<TDocument>(IndexKeysDefinition<TDocument>, FieldDefinition<TDocument>)

Combines an existing index keys definition with an ascending index key definition.

Ascending<TDocument>(IndexKeysDefinition<TDocument>, Expression<Func<TDocument, object>>)

Combines an existing index keys definition with an ascending index key definition.

Descending<TDocument>(IndexKeysDefinition<TDocument>, FieldDefinition<TDocument>)

Combines an existing index keys definition with a descending index key definition.

Descending<TDocument>(IndexKeysDefinition<TDocument>, Expression<Func<TDocument, object>>)

Combines an existing index keys definition with a descending index key definition.

Geo2DSphere<TDocument>(IndexKeysDefinition<TDocument>, FieldDefinition<TDocument>)

Combines an existing index keys definition with a 2dsphere index key definition.

Geo2DSphere<TDocument>(IndexKeysDefinition<TDocument>, Expression<Func<TDocument, object>>)

Combines an existing index keys definition with a 2dsphere index key definition.

Geo2D<TDocument>(IndexKeysDefinition<TDocument>, FieldDefinition<TDocument>)

Combines an existing index keys definition with a 2d index key definition.

Geo2D<TDocument>(IndexKeysDefinition<TDocument>, Expression<Func<TDocument, object>>)

Combines an existing index keys definition with a 2d index key definition.

GeoHaystack<TDocument>(IndexKeysDefinition<TDocument>, FieldDefinition<TDocument>, FieldDefinition<TDocument>)

Combines an existing index keys definition with a geo haystack index key definition.

GeoHaystack<TDocument>(IndexKeysDefinition<TDocument>, Expression<Func<TDocument, object>>, Expression<Func<TDocument, object>>)

Combines an existing index keys definition with a geo haystack index key definition.

Hashed<TDocument>(IndexKeysDefinition<TDocument>, FieldDefinition<TDocument>)

Combines an existing index keys definition with a hashed index key definition.

Hashed<TDocument>(IndexKeysDefinition<TDocument>, Expression<Func<TDocument, object>>)

Combines an existing index keys definition with a hashed index key definition.

Text<TDocument>(IndexKeysDefinition<TDocument>, FieldDefinition<TDocument>)

Combines an existing index keys definition with a text index key definition.

Text<TDocument>(IndexKeysDefinition<TDocument>, Expression<Func<TDocument, object>>)

Combines an existing index keys definition with a text index key definition.