Class: Filter

ReactiveDb.Filter

Represents a filter to pass to the ReactiveDb.Filterable#where method.

Instances of filters are built using the provided static factories, which can be accessed using the Filter property of the Webcom.ReactiveDb static property.

Methods

(static) equalTo(value) → {ReactiveDb.Filter}

Builds a Filter instance that will keep within a query only documents whose filtered field (given to the where method) is equal to the given value.

Parameters:
Name Type Description
value any

comparison value

Returns:
Type
ReactiveDb.Filter

(static) greaterThan(value) → {ReactiveDb.Filter}

Builds a Filter instance that will keep within a query only documents whose filtered field (given to the where method) is strictly greater than the given value.

Parameters:
Name Type Description
value any

comparison value

Returns:
Type
ReactiveDb.Filter

(static) greaterThanOrEqualTo(value) → {ReactiveDb.Filter}

Builds a Filter instance that will keep within a query only documents whose filtered field (given to the where method) is greater than or equal to the given value.

Parameters:
Name Type Description
value any

comparison value

Returns:
Type
ReactiveDb.Filter

(static) lessThan(value) → {ReactiveDb.Filter}

Builds a Filter instance that will keep within a query only documents whose filtered field (given to the where method) is strictly less than the given value.

Parameters:
Name Type Description
value any

comparison value

Returns:
Type
ReactiveDb.Filter

(static) lessThanOrEqualTo(value) → {ReactiveDb.Filter}

Builds a Filter instance that will keep within a query only documents whose filtered field (given to the where method) is less than or equal to the given value.

Parameters:
Name Type Description
value any

comparison value

Returns:
Type
ReactiveDb.Filter

(static) notEqualTo(value) → {ReactiveDb.Filter}

Builds a Filter instance that will keep within a query only documents whose filtered field (given to the where method) is not equal to the given value.

Parameters:
Name Type Description
value any

comparison value

Returns:
Type
ReactiveDb.Filter
deprecated
Authentication
ServerlessDb
ReactiveDb