Closed jonathan-d-zhang closed 6 months ago
Instead of selecting and updating with 2 queries, simply update and get the updated rows using RETURNING.
RETURNING
This has the added benefit of making this operation atomic, when it was not before.
Closes #220
Instead of selecting and updating with 2 queries, simply update and get the updated rows using
RETURNING
.This has the added benefit of making this operation atomic, when it was not before.