Normally whenever I’ve needed to lock a row in a database, I’ve used a dedicated column of type bool that I’ve toggled on and off. I’ve recently learned that there are built in locking functions in various databases such as MySQL. What advantages are there over using these native locking features over using a column for locking and unlocking.
Share
Ok, I’m tired now.