AggregateFluentBaseTResultSortByCountTId Method |
Appends a sortByCount stage to the pipeline.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.4.1
Syntax public virtual IAggregateFluent<AggregateSortByCountResult<TId>> SortByCount<TId>(
AggregateExpressionDefinition<TResult, TId> id
)
Public Overridable Function SortByCount(Of TId) (
id As AggregateExpressionDefinition(Of TResult, TId)
) As IAggregateFluent(Of AggregateSortByCountResult(Of TId))
abstract SortByCount :
id : AggregateExpressionDefinition<'TResult, 'TId> -> IAggregateFluent<AggregateSortByCountResult<'TId>>
override SortByCount :
id : AggregateExpressionDefinition<'TResult, 'TId> -> IAggregateFluent<AggregateSortByCountResult<'TId>>
Parameters
- id
- Type: MongoDB.DriverAggregateExpressionDefinitionTResult, TId
The identifier.
Type Parameters
- TId
- The type of the identifier.
Return Value
Type:
IAggregateFluentAggregateSortByCountResultTIdThe fluent aggregate interface.
Implements
IAggregateFluentTResultSortByCountTId(AggregateExpressionDefinitionTResult, TId)See Also