RecordsRef<K, V> class

An immutable reference to multiple records

Constructors

RecordsRef()

Properties

keys → List<K>
Record key, null for new record.
read-only
store StoreRef<K, V>
Store reference.
read-only
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

add(DatabaseClient client, List<V> values) → Future<List<K>>
Create records that don't exist. [...]
cast<RK, RV>() RecordsRef<RK, RV>
Cast if needed.
delete(DatabaseClient client) → Future
delete them.
get(DatabaseClient client) → Future<List<V>>
Get all records values.
getSnapshots(DatabaseClient client) → Future<List<RecordSnapshot<K, V>>>
Get all records snapshot.
put(DatabaseClient client, List<V> values, {bool merge}) → Future<List<V>>
Save multiple records, creating the one needed. [...]
update(DatabaseClient client, List<V> values) → Future<List<V>>
Update multiple records. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator [](int index) RecordRef<K, V>
Record ref at a given index.
operator ==(dynamic other) → bool
The equality operator. [...]
inherited