QueryAsync<T> extension

Asynchronous operations for queries.

on

Methods

countAsync() Future<int>
Count how many objects match the query.
findAllAsync({int? offset, int? limit}) Future<List<T>>
Find all objects that match this query.
findFirstAsync({int? offset}) Future<T?>
Find the first object that matches this query or null if no object matches.
isEmptyAsync() Future<bool>
Yields true if there are no objects that match the query.