SdbIndexRefExtensionOnSnapshots<K extends SdbKey, V extends SdbValue, IK extends SdbIndexKey> extension

Snapshots extension on index.

on

Methods

onCount(SdbDatabase db, {SdbFindOptions<IK>? options}) Stream<int>

Available on SdbIndexRef<K, V, IK>, provided by the SdbIndexRefExtensionOnSnapshots extension

Reads the count and set a listener to redo the count on changes, including changes made in other browser tabs.
onSnapshots(SdbDatabase db, {SdbFindOptions<IK>? options}) Stream<List<SdbIndexRecordSnapshot<K, V, IK>>>

Available on SdbIndexRef<K, V, IK>, provided by the SdbIndexRefExtensionOnSnapshots extension

Reads the data and set a listener to redo the query on changes, including changes made in other browser tabs.