CI4 Database Pessimistic Locking Row |
Does codeigniter 4 database library will have pessimistic locking feature like laravel eloquent does, https://laravel.com/docs/5.4/queries#pes...ic-locking
Keep calm.
Do you know what a pessimistic lock is in the first place, or are you just asking just because Laravel?
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. (03-23-2017, 11:43 AM)Narf Wrote: Well, if you know what you want to do with it - fair enough. 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.
|
Welcome Guest, Not a member yet? Register Sign In |