query method
The documents of collection that query selects.
Implementation
@override
Future<List<CloudDocument>> query(String collection, CloudQuery query) async {
try {
final snapshot = await (await _query(collection, query)).get();
onRead?.call('query');
return _docs(snapshot);
} catch (error, stack) {
Error.throwWithStackTrace(_error(error), stack);
}
}