updateTrackedQueryKeys abstract method

void updateTrackedQueryKeys(
  1. int trackedQueryId,
  2. Set<ChildKey> added,
  3. Set<ChildKey> removed
)

Adds and removes keys of trackedQueryId; removing a key that is not stored is a no-op.

The reference engine throws a StateError for an untracked id or for removing keys that do not exist while isDurable is true: a reference-engine check, not a requirement on engines.

Implementation

void updateTrackedQueryKeys(
  int trackedQueryId,
  Set<ChildKey> added,
  Set<ChildKey> removed,
);