SqliteDriver class final

Owns one SQLite connection and serializes complete connection leases.

Native execution runs in an isolate; browser execution runs in a worker. Closing drains accepted leases and then releases the database and worker.

Implemented types

Properties

capabilities Capabilities
Features and limits exposed by this adapter and its actual backend.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Rejects new leases, drains accepted work, and releases owned resources.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run<R>(Future<R> action(SqlConnection)) Future<R>
Runs action exclusively; the next lease starts after its future settles.
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

open(SqliteOptions options) Future<SqliteDriver>
Opens the configured database and checks SQLite 3.35 or newer.