NoTransactionDelegate class Null safety

A TransactionDelegate for database APIs which don't already support creating transactions. Drift will send a BEGIN TRANSACTION statement at the beginning, then block the database, and finally send a COMMIT statement at the end.

Inheritance

Constructors

NoTransactionDelegate({String start = 'BEGIN TRANSACTION', String commit = 'COMMIT TRANSACTION', String rollback = 'ROLLBACK TRANSACTION'})
Construct a transaction delegate indicating that native transactions aren't supported and need to be emulated by issuing statements and locking the database.
const

Properties

commit String
The statement that commits a transaction on this database engine.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
rollback String
The statement that will perform a rollback of a transaction on this database engine.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
start String
The statement that starts a transaction on this database engine.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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