Execution port for one physical connection during an active driver lease.
Await each operation before issuing another one on the same connection. Connection ownership remains with the Driver; application code uses Driver.run through that driver rather than retaining the connection beyond its callback.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transactionActive → bool?
-
Actual adapter state after the last completed request; null if unavailable.
no setter
Methods
-
execute(
SqlCommand command, {ExecutionOptions options = const ExecutionOptions()}) → Future< SqlResult> - Executes SQL with separately bound parameters and per-statement controls.
-
invalidate(
) → Future< void> - Permanently discard a connection whose protocol or transaction is uncertain.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openCursor(
SqlCommand command, {ExecutionOptions options = const ExecutionOptions()}) → Future< SqlCursor> - Opens a bounded-fetch cursor when the driver supports streaming.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited