DatabaseTransaction class abstract

Represents a database transaction

Constructors

DatabaseTransaction()

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

commit() → Future<void>
Commits the transaction
execute(String sql, {List? parameters}) → Future<int>
Executes a SQL command within the transaction
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(String sql, {List? parameters}) → Future<DataFrame>
Executes a SQL query within the transaction
rollback() → Future<void>
Rolls back the transaction
toString() → String
A string representation of this object.
inherited

Operators

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