Hello, I am using Propel as my ORM.
I need to do a batch update to a table with the following fields:
ID
Company
Assigned
The update will take in an array of Company
and set the Assigne
d field to 1
.
The issue is there might be 2 batch updates that occur at the same time. So when that happens, I will have to accept one update, and reject another. Is there anyway to lock the table for one batch update? Or is there a better solution?