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
sqlquery 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
sqlquery with positionalparams. -
script(
String sql) → Future< void> -
Execute an
sqlscript 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
fnbefore committing the transaction.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited