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

Add the ability to filter an entity based on a condition of a relation. #13

Open
minox86 opened this issue Jan 8, 2022 · 3 comments
Open
Labels
📅 approved New feature approved and scheduled ✨ feature request New feature or request
Milestone

Comments

@minox86
Copy link
Collaborator

minox86 commented Jan 8, 2022

There should be the possibility to add a condition that returns a record only if some/every/none of its related entities satisfy another given condition.

@minox86 minox86 added the 💫 improvements Improvements or addition to existing functionalities label Jan 8, 2022
@edobrb edobrb added the ⬇️ low priority Lowest priority label Jan 14, 2022
@minox86 minox86 removed the ⬇️ low priority Lowest priority label Jan 15, 2022
@minox86
Copy link
Collaborator Author

minox86 commented Jan 15, 2022

I think this is not low priority, contrariwise I think this should be a functionality included in the next milestone (after Beta January 2022)

@minox86 minox86 added this to the Spring 2022 milestone Jan 16, 2022
@minox86 minox86 added ✨ feature request New feature or request 📅 approved New feature approved and scheduled and removed 💫 improvements Improvements or addition to existing functionalities labels Jan 17, 2022
@edobrb
Copy link
Collaborator

edobrb commented Jan 25, 2022

it might not make much sense to have such a filter, you would be able to do the same with a double query using Typetta's current API. Can anyone formulate an example query where this type of filter comes in handy?

@minox86
Copy link
Collaborator Author

minox86 commented Jan 26, 2022

As discussed in person, this functionality is important and useful. Some examples:

  • load all users who have at least a post in the category X
  • load all users who have friends in Cesena
    ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📅 approved New feature approved and scheduled ✨ feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants