findRecordKeys method

Future<List<SdbIndexRecordKey<K, V, I>>> findRecordKeys(
  1. SdbClient client, {
  2. SdbBoundaries<I>? boundaries,
  3. int? offset,
  4. int? limit,
  5. SdbFilter? filter,
  6. bool? descending,
  7. SdbFindOptions<I>? options,
})

Find record keys.

Implementation

Future<List<SdbIndexRecordKey<K, V, I>>> findRecordKeys(
  SdbClient client, {
  SdbBoundaries<I>? boundaries,
  int? offset,
  int? limit,
  SdbFilter? filter,

  /// Optional descending order
  bool? descending,

  /// New api, takes precedence over the other parameters. With a filter,
  /// the whole records are read (the filter is applied in memory).
  SdbFindOptions<I>? options,
}) async {
  options = sdbFindOptionsMerge(
    boundaries: boundaries,
    options,
    filter: filter,
    limit: limit,
    offset: offset,
    descending: descending,
  );

  return impl.findRecordKeysImpl(client, options: options);
}