Instead of `upsert`, we `update` first, which is arguably the most used
operation in this context, and if that fails, then we attempt an insert.
We're not expecting a performance hit, since most operations here would
be an actual `update` only.
cherry picked from commit
|
||
|---|---|---|
| .. | ||
| client | ||
| server | ||
| util | ||