Join Discord
Powered by
Does upsert() support composite keys? It doesn't ...
# off-topic
m
Marky
08/11/2021, 1:34 AM
Does upsert() support composite keys? It doesn't seem the table editor does
s
Steve
08/11/2021, 4:09 PM
Yes, it does. This is proven to work under PostgREST(can share tests if you like) and supabase-js. It could be a bug on the Table Editor.
m
Marky
08/11/2021, 4:10 PM
Ok, I'll give that a try. I do think there is a bug in the table editor as it keeps complaining no primary key. I opened an issue about it.
Previous
Next