NoTransactionDelegate constructor

const NoTransactionDelegate({
  1. String start = 'BEGIN TRANSACTION',
  2. String commit = 'COMMIT TRANSACTION',
  3. String rollback = 'ROLLBACK TRANSACTION',
  4. String savepoint(
    1. int depth
    ) = _defaultSavepoint,
  5. String release(
    1. int depth
    ) = _defaultRelease,
  6. String rollbackToSavepoint(
    1. int depth
    ) = _defaultRollbackToSavepoint,
})

Construct a transaction delegate indicating that native transactions aren't supported and need to be emulated by issuing statements and locking the database.

Implementation

const NoTransactionDelegate({
  this.start = 'BEGIN TRANSACTION',
  this.commit = 'COMMIT TRANSACTION',
  this.rollback = 'ROLLBACK TRANSACTION',
  this.savepoint = _defaultSavepoint,
  this.release = _defaultRelease,
  this.rollbackToSavepoint = _defaultRollbackToSavepoint,
});