Content
@
0 reply
0 recast
2 reactions
Hugo -
@schezhugo
Is it me or Supabase sucks? I’ve been playing around for the last few hours and I still haven’t been able to do very basic stuff
3 replies
0 recast
0 reaction
Steve
@stevedylandev.eth
About to do the same so I'll let you know 😂
1 reply
0 recast
1 reaction
Steve
@stevedylandev.eth
So far so good, but not sure what stack you’re using so results could vary 😬
1 reply
0 recast
1 reaction
Hugo -
@schezhugo
I’m using next JS, my problem is with their API, I can’t find easy ways to create upserts of nested records
1 reply
0 recast
0 reaction
Steve
@stevedylandev.eth
Hmm, not sure I can help there 😬 I did find this: https://supabase.com/docs/reference/javascript/upsert as well as this https://stackoverflow.com/questions/74316422/upsert-an-array-of-objects-using-supabase-and-reactjs Could be a matter of segmenting?
1 reply
0 recast
1 reaction
Hugo -
@schezhugo
Thanks, but how do you upsert an element that has a relationship to another table? Meaning, a model user and a model posts, how would I go about creating a new post, and upserting the user? Does that make sense? This is straight forward using Prisma but not with Supabase AFAIK
2 replies
0 recast
0 reaction