Interface for executing database operations.
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
execute(
String sql, List< Object?> params) → Future<QueryResult> -
Execute a single
sql
query with positionalparams
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
query(
String sql, List< Object?> params) → Stream<RowReader> -
Execute
sql
query with positionalparams
. -
script(
String sql) → Future< void> -
Execute an
sql
script that may contain multiple statements. -
toString(
) → String -
A string representation of this object.
inherited
-
transact<
T> (Future< T> fn(Executor tx)) → Future<T> -
Begin a transaction / save-point and call
fn
before committing the transaction.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited