where method

QueryRequest<M> where(
  1. FilterOrComposite filter
)

Adds field filters for the query results.

See all(..), either(..), eq(..), le(..), ge(..), lt(..), gt(..).

If called multiple times, the composite filters are composed with the ALL operator, i.e. an entity state should pass all of the composite filters to be included in the query results.

Implementation

QueryRequest<M> where(FilterOrComposite filter) {
    _filters.add(filter._toProto());
    return this;
}