How to implement mysql record locking in Yii2
问题 I want to implement record locking functionality in my Yii2 application. If one user opens update link/record (Ex. http://localhost/myproject/backend/web/user/update/1 ) then another user cannot able to access thislink and user will get an ALERT message saying " This record already opened by another user ". So the record/page should lock for another user. (Same like MS Excel locking) Once first user finishes and leaves from that record/page then it should unlock and another user can read