SdbStoreRef<K extends KeyBase, V extends ValueBase> class abstract

A simple db store definition.

Available extensions

Constructors

SdbStoreRef(String name)
Store definition.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Store name.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(SdbClient client, V value) Future<K>

Available on SdbStoreRef<K, V>, provided by the SdbStoreRefExtension extension

Add a single record.
count(SdbClient client, {SdbBoundaries<K>? boundaries}) Future<int>

Available on SdbStoreRef<K, V>, provided by the SdbStoreRefExtension extension

Count records.
delete(SdbClient client, {SdbBoundaries<K>? boundaries, int? offset, int? limit}) Future<void>

Available on SdbStoreRef<K, V>, provided by the SdbStoreRefExtension extension

Delete records.
findRecordKeys(SdbClient client, {SdbBoundaries<K>? boundaries, int? offset, int? limit}) Future<List<SdbRecordKey<K, V>>>

Available on SdbStoreRef<K, V>, provided by the SdbStoreRefExtension extension

Find records.
findRecords(SdbClient client, {SdbBoundaries<K>? boundaries, int? offset, int? limit}) Future<List<SdbRecordSnapshot<K, V>>>

Available on SdbStoreRef<K, V>, provided by the SdbStoreRefExtension extension

Find records.
index<I extends IndexBase>(String name) SdbIndex1Ref<K, V, I>

Available on SdbStoreRef<K, V>, provided by the SdbStoreRefExtension extension

Index reference on 1 field
index2<I1 extends IndexBase, I2 extends IndexBase>(String name) SdbIndex2Ref<K, V, I1, I2>

Available on SdbStoreRef<K, V>, provided by the SdbStoreRefExtension extension

Index reference on 2 fields
index3<I1 extends IndexBase, I2 extends IndexBase, I3 extends IndexBase>(String name) SdbIndex3Ref<K, V, I1, I2, I3>

Available on SdbStoreRef<K, V>, provided by the SdbStoreRefExtension extension

Index reference on 3 fields
index4<I1 extends IndexBase, I2 extends IndexBase, I3 extends IndexBase, I4 extends IndexBase>(String name) SdbIndex4Ref<K, V, I1, I2, I3, I4>

Available on SdbStoreRef<K, V>, provided by the SdbStoreRefExtension extension

Index reference on 4 fields
lowerBoundary(K value, {bool? include = true}) SdbBoundary<K>

Available on SdbStoreRef<K, V>, provided by the SdbStoreRefExtension extension

Lower boundary
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(SdbClient client, V value) Future<K>

Available on SdbStoreRef<K, V>, provided by the SdbStoreRefExtension extension

Put a single record (when using inline keys)
record(K key) SdbRecordRef<K, V>

Available on SdbStoreRef<K, V>, provided by the SdbStoreRefExtension extension

Record reference.
toString() String
A string representation of this object.
inherited
upperBoundary(K value, {bool? include = false}) SdbBoundary<K>

Available on SdbStoreRef<K, V>, provided by the SdbStoreRefExtension extension

Upper boundary

Operators

operator ==(Object other) bool
The equality operator.
inherited