QueryExecute<OBJ, R> extension
Extension for QueryBuilders
- on
-
- QueryBuilder<
OBJ, R, QQueryOperations>
- QueryBuilder<
Methods
-
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 -
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 extensionnull
if no object matches. -
findFirstSync(
) → R? -
Available on QueryBuilder<
Find the first object that matches this query orOBJ, R, QQueryOperations> , provided by the QueryExecute extensionnull
if no object matches. -
isEmpty(
) → Future< bool> -
Available on QueryBuilder<
ReturnsOBJ, R, QQueryOperations> , provided by the QueryExecute extensiontrue
if there are no objects that match this query. -
isEmptySync(
) → bool -
Available on QueryBuilder<
ReturnsOBJ, R, QQueryOperations> , provided by the QueryExecute extensiontrue
if there are no objects that match this query. -
isNotEmpty(
) → Future< bool> -
Available on QueryBuilder<
ReturnsOBJ, R, QQueryOperations> , provided by the QueryExecute extensiontrue
if there are objects that match this query. -
isNotEmptySync(
) → bool -
Available on QueryBuilder<
ReturnsOBJ, R, QQueryOperations> , provided by the QueryExecute extensiontrue
if there are objects that match this query. -
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 extensionfireImmediately
istrue
, an event will be fired immediately.