News for hackers. Stuff that matters.
Re:SQLite Query Language: upsert by schrodinger on Friday May 11, 2018 @05:01AM (#17045856)
I believe you need to repeat that update one more time, in case the row wasn’t present during the first update, but was created by another session immediately before the insert. Unless you’re in a transaction—then you’d be fine as posted above.

There are no comments on this comment yet.