IndexKeysDefinitionBuilder<TDocument> Class |
Inheritance HierarchySystem.Object MongoDB.Driver.IndexKeysDefinitionBuilder<TDocument>
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.4.1
Syntaxpublic sealed class IndexKeysDefinitionBuilder<TDocument>
Public NotInheritable Class IndexKeysDefinitionBuilder(Of TDocument)
[<SealedAttribute>]
type IndexKeysDefinitionBuilder<'TDocument> = class end
Type Parameters
- TDocument
- The type of the document.
The IndexKeysDefinitionBuilder< TDocument> type exposes the following members.
Constructors
Methods
| Name | Description |
---|
 | Ascending(Expression<Func<TDocument, Object>>) |
Creates an ascending index key definition.
|
 | Ascending(FieldDefinition<TDocument>) |
Creates an ascending index key definition.
|
 | Combine(IndexKeysDefinition<TDocument>[]) |
Creates a combined index keys definition.
|
 | Combine(IEnumerable<IndexKeysDefinition<TDocument>>) |
Creates a combined index keys definition.
|
 | Descending(Expression<Func<TDocument, Object>>) |
Creates a descending index key definition.
|
 | Descending(FieldDefinition<TDocument>) |
Creates a descending index key definition.
|
 | Object.) |
 | Geo2D(Expression<Func<TDocument, Object>>) |
Creates a 2d index key definition.
|
 | Geo2D(FieldDefinition<TDocument>) |
Creates a 2d index key definition.
|
 | Geo2DSphere(Expression<Func<TDocument, Object>>) |
Creates a 2dsphere index key definition.
|
 | Geo2DSphere(FieldDefinition<TDocument>) |
Creates a 2dsphere index key definition.
|
 | GeoHaystack(Expression<Func<TDocument, Object>>, Expression<Func<TDocument, Object>>) |
Creates a geo haystack index key definition.
|
 | GeoHaystack(FieldDefinition<TDocument>, FieldDefinition<TDocument>) |
Creates a geo haystack index key definition.
|
 | Object.) |
 | Hashed(Expression<Func<TDocument, Object>>) |
Creates a hashed index key definition.
|
 | Hashed(FieldDefinition<TDocument>) |
Creates a hashed index key definition.
|
 | Text(Expression<Func<TDocument, Object>>) |
Creates a text index key definition.
|
 | Text(FieldDefinition<TDocument>) |
Creates a text index key definition.
|
 | Object.) |
Top
Extension Methods
See Also
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant