Table of Contents

Method Limit

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Limit<TInput>(long)

Creates a $limit stage.

public static PipelineStageDefinition<TInput, TInput> Limit<TInput>(long limit)

Parameters

limit long

The limit.

Returns

PipelineStageDefinition<TInput, TInput>

The stage.

Type Parameters

TInput

The type of the input documents.