Method Limit

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

Limit(long)

Appends a limit stage to the pipeline.

IAggregateFluent<TResult> Limit(long limit)

Parameters

limit long

The limit.

Returns

IAggregateFluent

The fluent aggregate interface.