SembastRecordRefSyncExtension<K, V> extension
Record ref sembast public extension.
Provides read access helper to data on the store using a given DatabaseClient.
- on
-
- RecordRef<
K, V>
- RecordRef<
Methods
-
existsSync(
DatabaseClient databaseClient) → bool - Return true if the record exists synchronously.
-
getSnapshotSync(
DatabaseClient databaseClient) → RecordSnapshot< K, V> ? - Get a record snapshot from the database synchronously.
-
getSync(
DatabaseClient databaseClient) → V? - Get a record value from the database synchronously.
-
onSnapshotSync(
Database database) → Stream< RecordSnapshot< K, V> ?> - Get a stream of a record snapshot from the database.