You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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(*)')
The text was updated successfully, but these errors were encountered:
I have been using the patch from #451 for three months now, it's working great! Any chance of getting that merged? It's a bit messy to have to manage the patch. Thanks!
Bug report
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(*)')
The text was updated successfully, but these errors were encountered: