Uji LockForupdate Laravel
DB::transaction(function () { echo 1; User::where('id', 33)->lockForUpdate()->get(); echo 2; sleep(10);});
Lazy Lobster
DB::transaction(function () { echo 1; User::where('id', 33)->lockForUpdate()->get(); echo 2; sleep(10);});