📅  最后修改于: 2022-03-11 14:54:08.590000             🧑  作者: Mango
代码示例6
DB::beginTransaction();
try { /** Statement */ DB::commit(); }
catch (\Exception $e) { /** Statement if failed */ DB::rollback(); }