DatabaseAdapter<TConnection extends DatabaseConnection> class
abstract
Abstract interface for connecting to a database. TODO more docs
- Implementers
Constructors
- DatabaseAdapter(DataSchema schema)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schema → DataSchema
-
final
Methods
-
initializeSchema(
{bool ignoreMigration = false}) → Future< void> - Checks and creates or migrates database tables according to the adapters schema.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openConnection(
) → Future< TConnection> - Opens a new connection to the database.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited