Bulk Update using upsert

I am tryin to bulk-update data using upsert but data are not getting updated and I am not getting any error
6 Replies
garyaustin
garyaustin2y ago
You need to meet RLS for select, update and insert.
FreeZy
FreeZyOP2y ago
it is disabled
garyaustin
garyaustin2y ago
Then you will need to present some example of what is not working. Upsert works.
FreeZy
FreeZyOP2y ago
Do I need to pass all the columns when doing upsert?
garyaustin
garyaustin2y ago
You have to pass the primary key and conflict columns. Not getting an error seems strange if RLS is disabled.
FreeZy
FreeZyOP2y ago
ok exactly what I am doing. I had to set to allow "NULL" for the columns that I am not passing in the upsert. It didn't work anyway.

Did you find this page helpful?