Table of Contents

Method Limit

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Limit(int?)

Limits the number of documents.

IFindFluent<TDocument, TProjection> Limit(int? limit)

Parameters

limit int?

The limit.

Returns

IFindFluent<TDocument, TProjection>

The fluent find interface.

Remarks

Limit of zero or null is equivalent to setting no limit.