Replies: 2 comments 7 replies
-
Try with: await supabase.from('teams').select(`
name,
members(
full_name
)
`)
.single() |
Beta Was this translation helpful? Give feedback.
0 replies
-
how can I flatten the data if I have fields coming from both |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm currently getting the following response:
But I'm trying to flatten this response to this:
I've been scratching my head the entire day without success. I'm new to Postgress.
Here is how my tables look like:
And this is my query:
Does it even make sense to have
teams_members
? I feel I'm over complicating things.Beta Was this translation helpful? Give feedback.
All reactions