streamRecords method
Stream<SdbRecordSnapshot<K, V> >
streamRecords(
- SdbClient client, {
- SdbBoundaries<
K> ? boundaries, - SdbFilter? filter,
- int? offset,
- int? limit,
- bool? descending,
- SdbFindOptions<
K> ? options,
Find records.
Implementation
Stream<SdbRecordSnapshot<K, V>> streamRecords(
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.streamRecordsImpl(client, options: options);
}