Overwrite old data when a fresh version arrives
In settings, every key must carry the freshest value — the old row is overwritten by a fresh sync, not ignored.
Try to add to settings a row with key theme and value dark. If the key is already taken — replace the old value with the new one. Then return key, value for all rows, ordered by key.
Just INSERT/UPDATE/DELETE — no trailing SELECT needed.
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign inFocus radio
Paused · SomaFM · Fluid