InitializedSchema<DB extends CommonDatabase> class
Contains an initialized schema with all tables, views, triggers and indices.
You can use the newConnection for your database class and the rawDatabase to insert data before the migration.
Constructors
- InitializedSchema(DB rawDatabase, DatabaseConnection _createConnection())
Properties
- connection → DatabaseConnection
-
A database connection with a prepared schema.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- rawDatabase → DB
-
The raw database from the
sqlite3
package.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
newConnection(
) → DatabaseConnection - Creates a new database connection.
-
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