ZenithDatabaseHandle class abstract
Abstract handle to a single database connection for one tenant.
Concrete implementations wire this to SQLite (via sqflite or drift),
an in-memory store for tests, or any other persistence engine.
Constructors
Properties
- filePath → String
-
The absolute path of the physical database file.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isOpen → bool
-
Whether the database connection is currently open.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> - Closes the database connection and releases file locks.
-
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