SqlExecutor class abstract interface

Executes typed SQL without owning the underlying database resource.

Transaction callbacks receive this narrow view, so they cannot close the parent database or start an unrelated atomic batch.

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(BoundSql statement) → Future<SqlWriteResult>
Executes one write statement.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query<T>(BoundSql statement, T decode(SqlRow row)) → Future<List<T>>
Executes a row-returning statement and decodes every row in order.
toString() → String
A string representation of this object.
inherited

Operators

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