2 ms·
This feels way less intuitive than SQL: UPDATE counters SET value = value + 1 WHERE name LIKE 'prefix.%'
by BrentOzar 3y ago
This feels way less intuitive than SQL:
UPDATE counters
SET value = value + 1
WHERE name LIKE 'prefix.%'
- strken 3y agoI really hate that SQL doesn't let you do UPDATE counters WHERE name LIKE 'prefix.%' SET value = value + 1 In a SELECT it's fine, but in a mutation it's dangerous to make updating literally everything so easy if you leave off the tail.