With statement to can use QueryBuilder or Model operations inside transaction #231
Labels
feature request
A feature that does not yet exist but will be a good addition to the library
hard
These issues are geared for people who have contributed to the project a lot
Support to run:
or a Model operations:
The difference to #229 is that here we can run some operation outside of a transaction and rollback just some code. In #229 we can only revert couple operations.
So, if some exception raises, just snippet inside with statement would be rollbacked. In this exemple the "history" of charges of customer would keep ( even if the payment would'nt be "done" ).
Make sense @josephmancuso ?
The text was updated successfully, but these errors were encountered: