An explicit execution scope. Transaction scopes expire after their callback.
Properties
- capabilities → Capabilities
-
no setter
- engine → Engine
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- inTransaction → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schema → String
-
The fixed schema captured when the database took ownership of its driver.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
String sql, {List< Object?> parameters = const []}) → Future<QueryResult> - Executes one trusted SQL statement with driver-native placeholders.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited