Welcome Guest, Not a member yet? Register   Sign In
CI4 Database Pessimistic Locking Row
#5

(03-23-2017, 11:43 AM)Narf Wrote: Well, if you know what you want to do with it - fair enough.

Though, I asked more about the "pessimistic" part, as a) pretty much nobody uses that term in PHPland; and b) it is wrongly described in the Laravel manual you linked to - a shared lock is not pessimistic.

Not sharedlock() but lockforupdate() as mention in laravel eloquent, "Prevent the rows from being modified or from being selected with another shared lock".
KeepĀ calm.
Reply


Messages In This Thread
CI4 Database Pessimistic Locking Row - by arma7x - 03-23-2017, 03:38 AM
RE: CI4 Database Pessimistic Locking Row - by arma7x - 03-23-2017, 12:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB