findKeys method

Future<List<K>> findKeys(
  1. SdbClient client, {
  2. SdbFindOptions<I>? options,
})

Find all records with this index key.

Implementation

Future<List<K>> findKeys(
  SdbClient client, {
  SdbFindOptions<I>? options,
}) async => (await index.findRecordKeys(
  client,
  options: _mergeOptions(options),
)).map((e) => e.key).toList();