active-record icon indicating copy to clipboard operation
active-record copied to clipboard

ActiveRecord transactions() ability to set isolation level

Open vercotux opened this issue 8 years ago • 5 comments

This is a feature request to add the ability to select the transaction isolation level inside the transactions() method. Currently only the default isolation level is possible when specifying transactions in this manner.

Note: While it is theoretically possible to change the isolation level after the transaction has already begun (for example in beforeSave()), not all DBMS allow this.

vercotux avatar Mar 19 '16 15:03 vercotux

Won't be implemented in 2.0.

samdark avatar Jun 18 '19 14:06 samdark

@samdark Why close it though? It's still very much an issue.

vercotux avatar Jun 22 '19 07:06 vercotux

Because it makes no sense to keep it open if 2.0 is feature/enhancement frozen.

samdark avatar Jun 22 '19 08:06 samdark

Sure, for 2.0, but what about 3.0? You're still using the same logic in yiisoft/active-record, so why not move the issue instead of just closing it?

vercotux avatar Jun 22 '19 08:06 vercotux

Ah, right :)

samdark avatar Jun 22 '19 09:06 samdark