Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to filter selected data with properties that are not selected? #2510

Closed
JulienLecoq opened this issue Oct 12, 2022 · 2 comments

Comments

@JulienLecoq
Copy link

I have several places in my app where I select some data from a table and I would like to filter the selected data with data that are not selected. These data are part either of the selected table or part of some other table linked to my selected table thanks to a foreign key.

I can't find anything on that topic on the doc. That seems to be an important thing to be able to do, I don't want to waste bandwidth, computation time, etc, on things that I don't want to get on my app.

@steve-chavez
Copy link
Member

Could you provide an example of what you want to achieve?

#2340 might be related

@wolfgangwalther
Copy link
Member

These data are part either of the selected table

Regular horizontal filtering will work here: https://postgrest.org/en/stable/api.html#horizontal-filtering-rows

part of some other table linked to my selected table thanks to a foreign key.

Not implemented, yet. Discussed here: #1414

@PostgREST PostgREST locked and limited conversation to collaborators Oct 25, 2022
@wolfgangwalther wolfgangwalther converted this issue into discussion #2528 Oct 25, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Development

No branches or pull requests

3 participants