QueryBuilder<OBJ, R, S>  class 
 
Query builders are used to create queries in a safe way.
Acquire a QueryBuilder instance using collection.where() or
collection.filter().
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  allOf<E, RS> (Iterable< E> items, FilterRepeatModifier<OBJ, OBJ, E> modifier) → QueryBuilder<OBJ, R, QAfterFilterCondition> 
- 
      Available on QueryBuilder< Joins the results of theOBJ, R, QFilterCondition> , provided by the QueryFilterNot extensionmodifierfor each item initemsusing logical AND. So an object will be included if it matches all of the resulting filters.
- 
  and() → QueryBuilder< OBJ, R, QFilterCondition> 
- 
      Available on QueryBuilder< Intersection of two filter conditions.OBJ, R, QFilterOperator> , provided by the QueryFilterAndOr extension
- 
  anyOf<E, RS> (Iterable< E> items, WhereRepeatModifier<OBJ, R, E> modifier) → QueryBuilder<OBJ, R, QAfterWhereClause> 
- 
      Available on QueryBuilder< Joins the results of theOBJ, R, QWhereClause> , provided by the QueryWhere extensionmodifierfor each item initemsusing logical OR. So an object will be included if it matches at least one of the resulting where clauses.
- 
  anyOf<E, RS> (Iterable< E> items, FilterRepeatModifier<OBJ, OBJ, E> modifier) → QueryBuilder<OBJ, R, QAfterFilterCondition> 
- 
      Available on QueryBuilder< Joins the results of theOBJ, R, QFilterCondition> , provided by the QueryFilterNot extensionmodifierfor each item initemsusing logical OR. So an object will be included if it matches at least one of the resulting filters.
- 
  average() → Future< double> 
- 
      Available on QueryBuilder< Returns the average value of this query.OBJ, T?, QQueryOperations> , provided by the QueryExecuteAggregation extension
- 
  averageSync() → double 
- 
      Available on QueryBuilder< Returns the average value of this query.OBJ, T?, QQueryOperations> , provided by the QueryExecuteAggregation extension
- 
  build() → Query< R> 
- 
      Available on QueryBuilder< Create a query from this query builder.OBJ, R, QQueryOperations> , provided by the QueryExecute extension
- 
  count() → Future< int> 
- 
      Available on QueryBuilder< Count how many objects match this query.OBJ, R, QQueryOperations> , provided by the QueryExecute extension
- 
  countSync() → int 
- 
      Available on QueryBuilder< Count how many objects match this query.OBJ, R, QQueryOperations> , provided by the QueryExecute extension
- 
  deleteAll() → Future< int> 
- 
      Available on QueryBuilder< Delete all objects that match this query. Returns the number of deleted objects.OBJ, R, QQueryOperations> , provided by the QueryExecute extension
- 
  deleteAllSync() → int 
- 
      Available on QueryBuilder< Delete all objects that match this query. Returns the number of deleted objects.OBJ, R, QQueryOperations> , provided by the QueryExecute extension
- 
  deleteFirst() → Future< bool> 
- 
      Available on QueryBuilder< Delete the first object that matches this query. Returns whether a object has been deleted.OBJ, R, QQueryOperations> , provided by the QueryExecute extension
- 
  deleteFirstSync() → bool 
- 
      Available on QueryBuilder< Delete the first object that matches this query. Returns whether a object has been deleted.OBJ, R, QQueryOperations> , provided by the QueryExecute extension
- 
  exportJson() → Future< List< Map< >String, dynamic> >
- 
      Available on QueryBuilder< Export the results of this query as json.OBJ, R, QQueryOperations> , provided by the QueryExecute extension
- 
  exportJsonRaw<T> (T callback(Uint8List)) → Future< T> 
- 
      Available on QueryBuilder< Export the results of this query as json bytes.OBJ, R, QQueryOperations> , provided by the QueryExecute extension
- 
  exportJsonRawSync<T> (T callback(Uint8List)) → T 
- 
      Available on QueryBuilder< Export the results of this query as json bytes.OBJ, R, QQueryOperations> , provided by the QueryExecute extension
- 
  exportJsonSync() → List< Map< String, dynamic> >
- 
      Available on QueryBuilder< Export the results of this query as json.OBJ, R, QQueryOperations> , provided by the QueryExecute extension
- 
  filter() → QueryBuilder< OBJ, R, QFilterCondition> 
- 
      Available on QueryBuilder< Start using filter conditions.OBJ, R, QFilter> , provided by the QueryFilters extension
- 
  findAll() → Future< List< R> >
- 
      Available on QueryBuilder< Find all objects that match this query.OBJ, R, QQueryOperations> , provided by the QueryExecute extension
- 
  findAllSync() → List< R> 
- 
      Available on QueryBuilder< Find all objects that match this query.OBJ, R, QQueryOperations> , provided by the QueryExecute extension
- 
  findFirst() → Future< R?> 
- 
      Available on QueryBuilder< Find the first object that matches this query orOBJ, R, QQueryOperations> , provided by the QueryExecute extensionnullif no object matches.
- 
  findFirstSync() → R? 
- 
      Available on QueryBuilder< Find the first object that matches this query orOBJ, R, QQueryOperations> , provided by the QueryExecute extensionnullif no object matches.
- 
  group(FilterQuery< OBJ> q) → QueryBuilder<OBJ, R, QAfterFilterCondition> 
- 
      Available on QueryBuilder< Group filter conditions.OBJ, R, QFilterCondition> , provided by the QueryFilterNoGroups extension
- 
  isEmpty() → Future< bool> 
- 
      Available on QueryBuilder< ReturnsOBJ, R, QQueryOperations> , provided by the QueryExecute extensiontrueif there are no objects that match this query.
- 
  isEmptySync() → bool 
- 
      Available on QueryBuilder< ReturnsOBJ, R, QQueryOperations> , provided by the QueryExecute extensiontrueif there are no objects that match this query.
- 
  isNotEmpty() → Future< bool> 
- 
      Available on QueryBuilder< ReturnsOBJ, R, QQueryOperations> , provided by the QueryExecute extensiontrueif there are objects that match this query.
- 
  isNotEmptySync() → bool 
- 
      Available on QueryBuilder< ReturnsOBJ, R, QQueryOperations> , provided by the QueryExecute extensiontrueif there are objects that match this query.
- 
  limit(int limit) → QueryBuilder< OBJ, R, QAfterLimit> 
- 
      Available on QueryBuilder< Limit the maximum number of query results.OBJ, R, QLimit> , provided by the QueryLimit extension
- 
  max() → Future< T?> 
- 
      Available on QueryBuilder< Returns the maximum value of this query.OBJ, T?, QQueryOperations> , provided by the QueryExecuteAggregation extension
- 
  max() → Future< DateTime?> 
- 
      Available on QueryBuilder< Returns the maximum value of this query.OBJ, DateTime?, QQueryOperations> , provided by the QueryExecuteDateAggregation extension
- 
  maxSync() → T? 
- 
      Available on QueryBuilder< Returns the maximum value of this query.OBJ, T?, QQueryOperations> , provided by the QueryExecuteAggregation extension
- 
  maxSync() → DateTime? 
- 
      Available on QueryBuilder< Returns the maximum value of this query.OBJ, DateTime?, QQueryOperations> , provided by the QueryExecuteDateAggregation extension
- 
  min() → Future< T?> 
- 
      Available on QueryBuilder< Returns the minimum value of this query.OBJ, T?, QQueryOperations> , provided by the QueryExecuteAggregation extension
- 
  min() → Future< DateTime?> 
- 
      Available on QueryBuilder< Returns the minimum value of this query.OBJ, DateTime?, QQueryOperations> , provided by the QueryExecuteDateAggregation extension
- 
  minSync() → DateTime? 
- 
      Available on QueryBuilder< Returns the minimum value of this query.OBJ, DateTime?, QQueryOperations> , provided by the QueryExecuteDateAggregation extension
- 
  minSync() → T? 
- 
      Available on QueryBuilder< Returns the minimum value of this query.OBJ, T?, QQueryOperations> , provided by the QueryExecuteAggregation extension
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  not() → QueryBuilder< OBJ, R, QFilterCondition> 
- 
      Available on QueryBuilder< Complement the next filter condition or group.OBJ, R, QFilterCondition> , provided by the QueryFilterNot extension
- 
  offset(int offset) → QueryBuilder< OBJ, R, QAfterOffset> 
- 
      Available on QueryBuilder< Offset the query results by a static number.OBJ, R, QOffset> , provided by the QueryOffset extension
- 
  oneOf<E, RS> (Iterable< E> items, FilterRepeatModifier<OBJ, R, E> modifier) → QueryBuilder<OBJ, R, QAfterFilterCondition> 
- 
      Available on QueryBuilder< Joins the results of theOBJ, R, QFilterCondition> , provided by the QueryFilterNot extensionmodifierfor each item initemsusing logical XOR. So an object will be included if it matches exactly one of the resulting filters.
- 
  optional<RS> (bool enabled, QueryOption< OBJ, S, RS> option) → QueryBuilder<OBJ, OBJ, RS> 
- 
      Available on QueryBuilder< Only apply a part of the query ifOBJ, OBJ, S> , provided by the QueryModifier extensionenabledis true.
- 
  or() → QueryBuilder< OBJ, R, QFilterCondition> 
- 
      Available on QueryBuilder< Union of two filter conditions.OBJ, R, QFilterOperator> , provided by the QueryFilterAndOr extension
- 
  or() → QueryBuilder< OBJ, R, QWhereClause> 
- 
      Available on QueryBuilder< Union of two where clauses.OBJ, R, QWhereOr> , provided by the QueryWhereOr extension
- 
  sum() → Future< T> 
- 
      Available on QueryBuilder< Returns the sum of all values of this query.OBJ, T?, QQueryOperations> , provided by the QueryExecuteAggregation extension
- 
  sumSync() → T 
- 
      Available on QueryBuilder< Returns the sum of all values of this query.OBJ, T?, QQueryOperations> , provided by the QueryExecuteAggregation extension
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  watch({bool fireImmediately = false}) → Stream< List< R> >
- 
      Available on QueryBuilder< Create a watcher that yields the results of this query whenever its results have (potentially) changed.OBJ, R, QQueryOperations> , provided by the QueryExecute extension
- 
  watchLazy({bool fireImmediately = false}) → Stream< void> 
- 
      Available on QueryBuilder< Watch the query for changes. IfOBJ, R, QQueryOperations> , provided by the QueryExecute extensionfireImmediatelyistrue, an event will be fired immediately.
- 
  xor() → QueryBuilder< OBJ, R, QFilterCondition> 
- 
      Available on QueryBuilder< Logical XOR of two filter conditions.OBJ, R, QFilterOperator> , provided by the QueryFilterAndOr extension
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited