Pin one note so it stays at the top
A user opened the note with id = 3 and tapped the pin icon. The backend should flip is_pinned to TRUE for that single row in notes. Leave the other notes alone.
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