TDataBaseCore class abstract

The database is the object that manages store objects.

Implementers

Constructors

TDataBaseCore()

Properties

hashCode → int
The hash code for this object.
no setterinherited
isInitialized ↔ bool
Indicates if the database is initialized.
getter/setter pair
registers → Map<String, Set<Object>>
The registers. A register is an object that is connected to a store. When the last register is disconnected, the store is disconnected. This is used to avoid unnecessary connections.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stores → Map<String, TStore>
The stores.
final

Methods

clearActiveStores() → Future<void>
connect(String storeName, Object register) → Future<bool>
Connect
disconnect(String storeName, Object register) → Future<bool>
Disconnect
disconnectAll(String storeName) → Future<bool>
getStore(String storeName) → Future<TStore>
Returns the store.
init() → Future<bool>
Initializes the database.
isRegisterConnected(String storeName, Object register) → bool
isStoreConnected(String storeName) → bool
listActiveStores() → Future<List<String>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
storeExists(String storeName) → Future<bool>
toString() → String
A string representation of this object.
inherited
updateActiveStoresRegistry(String storeName) → Future<void>

Operators

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

Constants

activeStoresRegistryName → const String