SdbDatabase class abstract

SimpleDb definition.

Implemented types
Available extensions

Constructors

SdbDatabase.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
rawIdb Database

Available on SdbDatabase, provided by the SdbDatabaseIdbExt extension

Database implementation.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version int
Get the version of the database.
no setter

Methods

close() Future<void>
Close the database.
inStoresTransaction<T, K extends SdbKey, V extends SdbValue>(List<SdbStoreRef<SdbKey, SdbValue>> stores, SdbTransactionMode mode, Future<T> callback(SdbMultiStoreTransaction txn)) Future<T>
Run a transaction.
inStoreTransaction<T, K extends SdbKey, V extends SdbValue>(SdbStoreRef<K, V> store, SdbTransactionMode mode, Future<T> callback(SdbSingleStoreTransaction<K, V> txn)) Future<T>
Run a transaction.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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