-
-
Notifications
You must be signed in to change notification settings - Fork 168
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug report
- I confirm this is a bug with Supabase, not with my own application.
- I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
PostgREST allows disambiguating relationships by using a column name as the target directly (see column name section of https://postgrest.org/en/stable/references/api/resource_embedding.html#embedding-disambiguation). However, select query parser in postgrest-js does not support this yet.
Personally I find column name disambiguation to be the superior method for embeds, so it would be nice to have this
To Reproduce
Use column name instead of foreign key constraint name or relation name as the target, i.e. .select('user:username(*)')
instead of .select('user:users(*)')
albinekb and jrmoynihan
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working