Method Skip
Skip<TInput, TOutput>(PipelineDefinition<TInput, TOutput>, long)
Appends a $skip stage to the pipeline.
public static PipelineDefinition<TInput, TOutput> Skip<TInput, TOutput>(this PipelineDefinition<TInput, TOutput> pipeline, long skip)
Parameters
pipelinePipelineDefinition<TInput, TOutput>The pipeline.
skiplongThe number of documents to skip.
Returns
- PipelineDefinition<TInput, TOutput>
A new pipeline with an additional stage.
Type Parameters
TInputThe type of the input documents.
TOutputThe type of the output documents.