Laravel has support for transactions via the
DB::transaction(function(){
DB::insert(...);
DB::delete(...);
etc.....
});
which auto begins and commits a transaction before and after calling the callback function.
Would you consider adding a method to support this?
Laravel has support for transactions via the
which auto begins and commits a transaction before and after calling the callback function.
Would you consider adding a method to support this?