News for hackers. Stuff that matters.
Re:SQLite Query Language: upsert by thr0awaz on Thursday May 10, 2018 @09:39PM (#17044396)
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.

There are no comments on this comment yet.