|
|
|
|
|
by thr0awaz
2960 days ago
|
|
I'm not 100% familiar with the system, but depending on the transaction levels available you could do wrap it in like... a serializable transaction, then select the rows (just to lock them), then do the update, then do the insert, then commit the transaction Maybe... I'm used to systems with upsert/merge. |
|