KoolbaseDocRef class
Document reference for single record operations
Constructors
Properties
Methods
-
delete(
{int? expectedRevision}) → Future< void> - Deletes the record.
-
deleteVector(
String field) → Future< void> -
Remove this record's stored vector on the named
field. -
get(
) → Future< KoolbaseRecord> -
getSaved(
) → Future< KoolbaseRecord?> - The device's saved copy of this record: what this device last read, with the changes queued on it applied. Never contacts the server. Null when there is none: never read here, or deleted on this device.
-
getVector(
String field) → Future< KoolbaseVector> -
Read this record's stored vector on the named
field. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setVector(
String field, List< double> vector) → Future<void> -
Write (or replace) a vector for this record on the named
field. -
toString(
) → String -
A string representation of this object.
inherited
-
update(
Map< String, dynamic> data, {int? expectedRevision}) → Future<KoolbaseRecord> - Applies a partial update, merging with what is already stored.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited