exclusive

abstract fun exclusive(): SQLiteTransaction<R>

Transaction Mode: Exclusive

Applies EXCLUSIVE mode to this transaction; another transaction object is returned (a copy), applying this mode, but with the same properties otherwise.

SQLite documentation describes EXCLUSIVE-mode transactions as:

"EXCLUSIVE is similar to IMMEDIATE in that a write transaction is started immediately. EXCLUSIVE and IMMEDIATE are the same in WAL mode, but in other journaling modes, EXCLUSIVE prevents other database connections from reading the database while the transaction is underway."