Level 50
no replies... :| am really waiting for some insight...
2 likes
May Sale! All accounts are 40% off this week.
Am using Laravel v5.2, Eloquent, MySql innodb.
I Have to update any user's available funds. So its seems logical to lock it while updating so it don't get updated from any other source and saving it with incorrect fund balance.
But my question is, if 2 or more queries came together to update the same user's funds and the 1st query locks it for select/update what will happen to the 2nd query?
Please or to participate in this conversation.