SortDefinitionBuilder<TDocument> Class |
Namespace: MongoDB.Driver
public sealed class SortDefinitionBuilder<TDocument>
The SortDefinitionBuilder< TDocument> type exposes the following members.
Name | Description | |
---|---|---|
![]() | SortDefinitionBuilder<TDocument> | Initializes a new instance of the SortDefinitionBuilder< TDocument> class |
Name | Description | |
---|---|---|
![]() | Ascending(Expression<Func<TDocument, Object>>) |
Creates an ascending sort.
|
![]() | Ascending(FieldDefinition<TDocument>) |
Creates an ascending sort.
|
![]() | Combine(SortDefinition<TDocument>[]) |
Creates a combined sort.
|
![]() | Combine(IEnumerable<SortDefinition<TDocument>>) |
Creates a combined sort.
|
![]() | Descending(Expression<Func<TDocument, Object>>) |
Creates a descending sort.
|
![]() | Descending(FieldDefinition<TDocument>) |
Creates a descending sort.
|
![]() | Object.) | |
![]() | MetaTextScore |
Creates a descending sort on the computed relevance score of a text search.
The name of the key should be the name of the projected relevence score field.
|
![]() | Object.) |
Name | Description | |
---|---|---|
![]() | ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) |
![]() | ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) |
![]() | ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |
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