This gist shows how you can update a single value inside a JSONB column using the supabase.js client
- I would consider this function unsafe and it should only be used on the server to avoid any risk of SQL injection.
- This is generated by ChatGPT and untested: I can't vouch for the relability of this function.