MysqlTransaction constructor

const MysqlTransaction({
  1. Isolation isolation = Isolation.repeatableRead,
  2. bool readOnly = false,
})

Defaults to repeatable read, independently of prior connection settings.

Implementation

const MysqlTransaction({
  this.isolation = Isolation.repeatableRead,
  this.readOnly = false,
});