QueryRef<K extends Key?, V extends Value?> class
abstract
A query on a store.
- Available extensions
Constructors
Properties
- finder → Finder?
-
Available on QueryRef<
Finder if any.K, V> , provided by the SembastQueryRefCommonExtension extensionno setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
count(
DatabaseClient client) → Future< int> -
Available on QueryRef<
count records.K, V> , provided by the SembastQueryRefExtension extension -
countSync(
DatabaseClient client) → int -
Available on QueryRef<
count records. Synchronous version.K, V> , provided by the SembastQueryRefSyncExtension extension -
delete(
DatabaseClient client) → Future< int> -
Available on QueryRef<
Delete records matching the query.K, V> , provided by the SembastQueryRefExtension extension -
getKey(
DatabaseClient client) → Future< K?> -
Available on QueryRef<
Find first record key matching the query.K, V> , provided by the SembastQueryRefExtension extension -
getKeys(
DatabaseClient client) → Future< List< K> > -
Available on QueryRef<
Find multiple record keysK, V> , provided by the SembastQueryRefExtension extension -
getKeysSync(
DatabaseClient client) → List< K> -
Available on QueryRef<
Find multiple record keys. Synchronous version.K, V> , provided by the SembastQueryRefSyncExtension extension -
getKeySync(
DatabaseClient client) → K? -
Available on QueryRef<
Find first record key matching the query. Synchrnous version.K, V> , provided by the SembastQueryRefSyncExtension extension -
getSnapshot(
DatabaseClient client) → Future< RecordSnapshot< K, V> ?> -
Available on QueryRef<
Find first record matching the query.K, V> , provided by the SembastQueryRefExtension extension -
getSnapshots(
DatabaseClient client) → Future< List< RecordSnapshot< >K, V> > -
Available on QueryRef<
Find multiple records.K, V> , provided by the SembastQueryRefExtension extension -
getSnapshotsSync(
DatabaseClient client) → List< RecordSnapshot< K, V> > -
Available on QueryRef<
Find multiple records. Synchronous version.K, V> , provided by the SembastQueryRefSyncExtension extension -
getSnapshotSync(
DatabaseClient client) → RecordSnapshot< K, V> ? -
Available on QueryRef<
Find first record matching the query. Synchrnous version.K, V> , provided by the SembastQueryRefSyncExtension extension -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onCount(
Database database) → Stream< int> -
Available on QueryRef<
onCount stream, called when the number of items changes.K, V> , provided by the SembastQueryRefExtension extension -
onCountSync(
Database database) → Stream< int> -
Available on QueryRef<
onCount stream, called when the number of items changes.K, V> , provided by the SembastQueryRefSyncExtension extension -
onKey(
Database database) → Stream< K?> -
Available on QueryRef<
Find first record key (null if none) and listen for changes.K, V> , provided by the SembastQueryRefExtension extension -
onKeys(
Database database) → Stream< List< K> > -
Available on QueryRef<
Find multiple records and listen for changes.K, V> , provided by the SembastQueryRefExtension extension -
onKeysSync(
Database database) → Stream< List< K> > -
Available on QueryRef<
Find multiple records and listen for changes.K, V> , provided by the SembastQueryRefSyncExtension extension -
onKeySync(
Database database) → Stream< K?> -
Available on QueryRef<
Find first record key (null if none) and listen for changes.K, V> , provided by the SembastQueryRefSyncExtension extension -
onSnapshot(
Database database) → Stream< RecordSnapshot< K, V> ?> -
Available on QueryRef<
Find first record (null if none) and listen for changes.K, V> , provided by the SembastQueryRefExtension extension -
onSnapshots(
Database database) → Stream< List< RecordSnapshot< >K, V> > -
Available on QueryRef<
Find multiple records and listen for changes.K, V> , provided by the SembastQueryRefExtension extension -
onSnapshotsSync(
Database database) → Stream< List< RecordSnapshot< >K, V> > -
Available on QueryRef<
Find multiple records and listen for changes.K, V> , provided by the SembastQueryRefSyncExtension extension -
onSnapshotSync(
Database database) → Stream< RecordSnapshot< K, V> ?> -
Available on QueryRef<
Find first record (null if none) and listen for changes.K, V> , provided by the SembastQueryRefSyncExtension extension -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited