Interface: Filterable

ReactiveDb.Filterable

Represents a Queryable object, whose resulting documents can be filtered by a given Filter.

Extends

Members

(readonly) collection :ReactiveDb.CollectionReference

The collection to be queried.

Type:
Inherited From:

Methods

where(field, filter) → {ReactiveDb.Filterable|ReactiveDb.Sortable|ReactiveDb.Limitable|ReactiveDb.Projectable}

Builds a new Queryable instance by adding a filter constraint on this Queryable instance.

Parameters:
Name Type Description
field ReactiveDb.DocumentField

Field of the documents this filter constraint applies to.

filter ReactiveDb.Filter

The filter to apply to the given field.

Returns:

The resulting Queryable instance may be further specialized using methods of the Filterable, Sortable, Limitable and Projectable interfaces.

Type
ReactiveDb.Filterable | ReactiveDb.Sortable | ReactiveDb.Limitable | ReactiveDb.Projectable
deprecated
Authentication
ServerlessDb
ReactiveDb