SqliteDatabase class

Inheritance

Constructors

SqliteDatabase(String name, SqliteConnection connection, {SqliteConnection? migrationConnection})

Properties

connection DatabaseConnection
The underlying connection provided by the plugin.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
migrationConnection DatabaseConnection?
An optional connection with elevated privileges for migrations.
no setteroverride
name String
The name of this database as defined in databases.yaml.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemaManager SchemaManager
The schema manager for this database.
no setteroverride
transactionManager TransactionManager
The TransactionManager for this database.
finalinherited

Methods

close() Future<void>
Closes the database connection and releases any pooled resources.
inherited
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