Release 5.1.1
Add the transaction method
This method aims to execute an SQL transaction around a passed arrow function.
Database::transaction(fn() => $user->update(['name' => '']));
Ref: #255
Add the transaction method
This method aims to execute an SQL transaction around a passed arrow function.
Database::transaction(fn() => $user->update(['name' => '']));
Ref: #255