Table of Contents

Class FindOptions<TDocument, TProjection>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Options for finding documents.

public class FindOptions<TDocument, TProjection> : FindOptionsBase

Type Parameters

TDocument

The type of the document.

TProjection

The type of the projection (same as TDocument if there is no projection).

Inheritance
FindOptions<TDocument, TProjection>
Derived
Inherited Members

Properties

Limit

Gets or sets how many documents to return.

Projection

Gets or sets the projection.

Skip

Gets or sets how many documents to skip before returning the rest.

Sort

Gets or sets the sort.