TxSession class abstract

A Session with transaction-related helper method(s).

Inheritance

Constructors

TxSession()

Properties

closed Future<void>
A future that completes when isOpen turns false.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isOpen bool
Whether this connection is currently open.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

execute(Object query, {Object? parameters, bool ignoreRows = false, QueryMode? queryMode, Duration? timeout}) Future<Result>
Executes the query with the given parameters.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepare(Object query) Future<Statement>
Prepares a reusable statement from a query.
inherited
rollback() Future<void>
Executes ROLLBACK and closes the transaction session. Further queries will throw an exception.
toString() String
A string representation of this object.
inherited

Operators

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