Skip to content
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

Filtering Related Item #79

Open
tomkurian01 opened this issue Feb 5, 2019 · 0 comments
Open

Filtering Related Item #79

tomkurian01 opened this issue Feb 5, 2019 · 0 comments

Comments

@tomkurian01
Copy link

I'm using AutoQueryable and I wanted to know if there was a way that I could put a filter on related items? So for example say we have a person table with a related table called Address. The address table has a flag called Active which is a boolean True or False.

I want to filter away the Addresses that are not active.

I'm guessing you could do something to the URI
So: http://localhost/api/v1/person?select=address.

But I was curious if is a way to do this on the API side of things so I can always remove any related entity the user picks from that is not active? (I have the ActiveFlag in all of my tables)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant