getSnapshot method

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

Find first record matching the query.

Returns null if none found.

Implementation

Future<RecordSnapshot<K, V>?> getSnapshot(DatabaseClient client) =>
    sembastQueryRef.store.findFirst(client, finder: sembastQueryRef.finder);