MongoDbCursorMethodsProperties Class

Cursor methods for Mongodb query.

Constructor

MongoDbCursorMethodsProperties(*args: Any, **kwargs: Any)

Variables

Name Description
project
any

Specifies the fields to return in the documents that match the query filter. To return all fields in the matching documents, omit this parameter. Type: string (or Expression with resultType string).

sort
any

Specifies the order in which the query returns matching documents. Type: string (or Expression with resultType string). Type: string (or Expression with resultType string).

skip
any

Specifies the how many documents skipped and where MongoDB begins returning results. This approach may be useful in implementing paginated results. Type: integer (or Expression with resultType integer).

limit
any

Specifies the maximum number of documents the server returns. limit() is analogous to the LIMIT statement in a SQL database. Type: integer (or Expression with resultType integer).

Attributes

limit

Specifies the maximum number of documents the server returns. limit() is analogous to the LIMIT statement in a SQL database. Type: integer (or Expression with resultType integer).

limit: Any | None

project

Specifies the fields to return in the documents that match the query filter. To return all fields in the matching documents, omit this parameter. Type: string (or Expression with resultType string).

project: Any | None

skip

Specifies the how many documents skipped and where MongoDB begins returning results. This approach may be useful in implementing paginated results. Type: integer (or Expression with resultType integer).

skip: Any | None

sort

string (or Expression with resultType string). Type: string (or Expression with resultType string).

sort: Any | None