toPrimaryKeyList method

Future<List<Object>> toPrimaryKeyList({
  1. int? limit,
  2. int? offset,
})

Convert an openKeyCursor stream to a list of key, must be auto-advance)

Implementation

Future<List<Object>> toPrimaryKeyList({int? limit, int? offset}) =>
    _cursorStreamToList(
      this,
      (cursor) => cursor.primaryKey,
      offset: offset,
      limit: limit,
    );