QueryAsync<T> extension

Asynchronous operations for queries.

on

Methods

countAsync() Future<int>

Available on DatabaseUniverseQuery<T>, provided by the QueryAsync extension

Count how many objects match the query.
findAllAsync({int? offset, int? limit}) Future<List<T>>

Available on DatabaseUniverseQuery<T>, provided by the QueryAsync extension

Find all objects that match this query.
findFirstAsync({int? offset}) Future<T?>

Available on DatabaseUniverseQuery<T>, provided by the QueryAsync extension

Find the first object that matches this query or null if no object matches.
isEmptyAsync() Future<bool>

Available on DatabaseUniverseQuery<T>, provided by the QueryAsync extension

Yields true if there are no objects that match the query.