Open
Description
I have followed the supabase and powersync implementation in the supabase-simple-chat demo.
I have a column that has nullable string values. After I update the value to null in the local database via an INSERT OR REPLACE SQL statement. I can see the value in the sqlite database become null. However after a few seconds it seems to re-update its value back to the previous non null value.
I suspect the null update is not being pushed to supabase, but instead it is resetting my local to be in sync with supabase instead.
To strangely when i use an UPDATE instead of an INSERT OR REPLACE, it seems to work fine.
Hoping someone could advise on how to manage this?
Metadata
Metadata
Assignees
Labels
No labels
Activity