findRecords method
Future<List<SdbRecordSnapshot<K, V> > >
findRecords(
- SdbClient client, {
- SdbBoundaries<
K> ? boundaries, - SdbFilter? filter,
- int? offset,
- int? limit,
- bool? descending,
- SdbFindOptions<
K> ? options,
Find records.
Implementation
Future<List<SdbRecordSnapshot<K, V>>> findRecords(
SdbClient client, {
SdbBoundaries<K>? boundaries,
/// Optional filter, performed in memory
SdbFilter? filter,
int? offset,
int? limit,
/// Optional sort order
bool? descending,
/// New API, supercedes the other parameters
SdbFindOptions<K>? options,
}) {
options = sdbFindOptionsMerge(
options,
boundaries: boundaries,
limit: limit,
offset: offset,
descending: descending,
filter: filter,
);
return impl.findRecordsImpl(client, options: options);
}