many-to-many returns empty array
I have the following tables:
After following the docs on many-to-many joins here: https://supabase.com/docs/guides/database/joins-and-nesting?queryGroups=language&language=js#many-to-many-joins, I'm trying to select them like this:
I have inserted a row in the join table that connects the account with that same id to a sheet
But I get this response:
What am I doing wrong here?
account => id, ...sheet => id, ...connected_sheets => pk(account_id, sheet_id), fk(account_id), fk(sheet_id)After following the docs on many-to-many joins here: https://supabase.com/docs/guides/database/joins-and-nesting?queryGroups=language&language=js#many-to-many-joins, I'm trying to select them like this:
I have inserted a row in the join table that connects the account with that same id to a sheet
But I get this response:
What am I doing wrong here?