AbstractDefaultSqliteOpenFactory<Database extends CommonDatabase> class abstract

The default database factory.

This takes care of opening the database, and running PRAGMA statements to configure the connection.

Override the open method to customize the process.

Implemented types
Implementers

Constructors

AbstractDefaultSqliteOpenFactory({required String path, SqliteOptions sqliteOptions = const SqliteOptions.defaults()})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
path String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sqliteOptions SqliteOptions
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(SqliteOpenOptions options) → Database
Opens a direct connection to a SQLite database connection and executes setup pragma statements to initialize the DB
override
openConnection(SqliteOpenOptions options) FutureOr<SqliteConnection>
Opens an asynchronous SqliteConnection to a SQLite database and executes setup pragma statements to initialize the DB
override
openDB(SqliteOpenOptions options) → Database
Opens a direct connection to a SQLite database connection
pragmaStatements(SqliteOpenOptions options) List<String>
toString() String
A string representation of this object.
inherited

Operators

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