streamRecords method

Stream<SdbRecordSnapshot<K, V>> streamRecords(
  1. SdbClient client, {
  2. SdbBoundaries<K>? boundaries,
  3. SdbFilter? filter,
  4. int? offset,
  5. int? limit,
  6. bool? descending,
  7. 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);
}