getSnapshotSync method

RecordSnapshot<K, V>? getSnapshotSync(
  1. DatabaseClient client
)

Find first record matching the query. Synchrnous version.

Returns null if none found.

Implementation

RecordSnapshot<K, V>? getSnapshotSync(DatabaseClient client) =>
    sembastQueryRef.store
        .findFirstSync(client, finder: sembastQueryRef.finder);