readsOutsideTransaction property
bool
get
readsOutsideTransaction
If true, the reads of a transaction that hasn't written yet run on a
pooled connection, without opening the database transaction (BEGIN):
a read-only transaction then costs no BEGIN/COMMIT round trips. The
database transaction is only opened by its first write.
It's only equivalent when each statement reads its own snapshot anyway,
as with READ COMMITTED and plain SELECTs (no locks). Default: false.
Implementation
bool get readsOutsideTransaction => false;