queryIterable<U> method
Executes a query returning multiple results as an Iterable of U.
Delegates execution to the assigned executor. Returns an empty iterable if no executor is set.
Example
final users = await repository.queryIterable<User>();
Implementation
Future<Iterable<U>> queryIterable<U>() async {
final executor = this.executor;
if (executor == null) {
return [];
}
return executor.executeIterable();
}