SortDefinitionExtensions Class |
Namespace: MongoDB.Driver
The SortDefinitionExtensions type exposes the following members.
Name | Description | |
---|---|---|
Ascending<TDocument>(SortDefinition<TDocument>, FieldDefinition<TDocument>) |
Combines an existing sort with an ascending field.
| |
Ascending<TDocument>(SortDefinition<TDocument>, Expression<Func<TDocument, Object>>) |
Combines an existing sort with an ascending field.
| |
Descending<TDocument>(SortDefinition<TDocument>, FieldDefinition<TDocument>) |
Combines an existing sort with an descending field.
| |
Descending<TDocument>(SortDefinition<TDocument>, Expression<Func<TDocument, Object>>) |
Combines an existing sort with an descending field.
| |
MetaTextScore<TDocument> |
Combines an existing sort with a descending sort on the computed relevance score of a text search.
The field name should be the name of the projected relevance score field.
|