Interface: Limitable

ReactiveDb.Limitable

Represents a Queryable object, whose resulting document count can be limited to a max value.

Extends

Members

(readonly) collection :ReactiveDb.CollectionReference

The collection to be queried.

Type:
Inherited From:

Methods

limit(n) → {ReactiveDb.Projectable}

Builds a new Queryable instance that will match a maximum number of documents.

Parameters:
Name Type Description
n number

The maximum number of documents to match.

Returns:

The resulting Queryable instance may be further specialized using methods of the Projectable interface.

Type
ReactiveDb.Projectable
deprecated
Authentication
ServerlessDb
ReactiveDb