SqliteAnySqlConnection class final
AnySQL connection backed by a SQLite database.
Positional SQL parameters are read from parameters['values'] when that
value is an iterable. Otherwise, map values are passed to SQLite in insertion
order.
- Implemented types
- Available extensions
Constructors
- SqliteAnySqlConnection(Database database)
-
Wraps an existing SQLite
database.
Properties
Methods
-
close(
) → Future< void> -
Closes the underlying database resources.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
query(
String statement, {Map< String, Object?> parameters = const {}}) → Future<AnySqlResult> -
Runs a statement or command and returns a normalized result.
override
-
store(
{required AnySqlDialect dialect}) → AnySqlStore -
Available on AnySqlConnection, provided by the AnySqlStoreConnection extension
Creates an AnySqlStore over this connection. -
toString(
) → String -
A string representation of this object.
inherited
-
transaction<
T> (Future< T> action(AnySqlTransaction transaction)) → Future<T> -
Runs work inside a database transaction.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited