SQLite Forum

New type of transaction (or a new behavior for DEFERRED transactions)
Login
It would help a lot, actually. In PHP's PDO, for example, we could just send "pragma transaction_default=immediate" at selected times, before calling PDO::beginTransaction() (which does not take parameters) instead creating extensions of the native PDO class (as [Drupal did](https://www.drupal.org/files/issues/1120020-58.patch)) just for use IMMEDIATE/EXCLUSIVE transactions (and having to selectively instantiate the proper class separately for every individual transaction).