Transaction class abstract interface

A handle for manual database transaction control.

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 all changes made within this transaction to the database.
createSavepoint(String name) Future<void>
Creates a named savepoint within the transaction.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
releaseSavepoint(String name) Future<void>
Releases a savepoint, making its changes permanent relative to the parent transaction.
rollback() Future<void>
Rolls back all changes made within this transaction.
rollbackToSavepoint(String name) Future<void>
Rolls back all changes made after the specified savepoint was created.
toString() String
A string representation of this object.
inherited

Operators

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