queryDocIds method

  1. @override
Future<List<QueryRow>> queryDocIds(
  1. String table,
  2. QuerySpec spec
)
override

Answers by a full scan: this engine has no indexes. The scan mirrors the SQLite engine's comparison semantics, so pages line up across engines.

Implementation

@override
Future<List<QueryRow>> queryDocIds(String table, QuerySpec spec) =>
    Future.value(evaluateQueryByScan(
      liveRows: _crdt.getMap(table),
      spec: spec,
      separator: '\x1F',
    ));