Method Limit
Limit<TInput>(long)
Creates a $limit stage.
Parameters
limit
longThe limit.
Returns
- Pipeline
Stage <TInput, TInput>Definition The stage.
Type Parameters
TInput
The type of the input documents.
Creates a $limit stage.
limit
longThe limit.
The stage.
TInput
The type of the input documents.