SdbDatabase class abstract

SimpleDb definition.

Implemented types
Available extensions

Constructors

SdbDatabase()

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
storeNames Iterable<String>
Object store names.
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, FutureOr<T> callback(SdbMultiStoreTransaction txn)) Future<T>
Run a transaction.
inStoreTransaction<T, K extends SdbKey, V extends SdbValue>(SdbStoreRef<K, V> store, SdbTransactionMode mode, FutureOr<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
readSchemaDef() Future<SdbDatabaseSchemaDef>

Available on SdbDatabase, provided by the SchemaSdbDatabaseExtension extension

Read the database schema definition
toString() String
A string representation of this object.
inherited

Operators

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