Skip to content

Filtering Related Item #79

Description

@tomkurian01

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions