RecordsRef<K, V> class

An immutable reference to multiple records

Constructors

RecordsRef()

Properties

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

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.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
put(DatabaseClient client, List<V> values, {bool merge}) Future<List<V>>
Save multiple records, creating the one needed. [...]
toString() String
A string representation of this object. [...]
inherited
update(DatabaseClient client, List<V> values) Future<List<V>>
Update multiple records. [...]

Operators

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