AutoQueryable
AutoQueryable copied to clipboard
Add graphql like filter for complicated filters
Sometimes we can't write some complicated filters with AQ because we have multiple conditions and subconditions :
((id == 1 || id == 2 || id == 3) && color.Contains("blue")) || (quantity >= 5 && quantity < 10)
We need to add a new filter clause (while keeping the old way) to make complicated filters like this :
filter=or(and(id(1,2,3),color(contains=blue),quantity(>=5,<10))
Hi @trenoncourt I've just come across this issue and it seems to be the very functionality that we are looking for.
I'm wondering if we can already perform a simple logical OR
across 2 different fields, or whether this would be part of this enhancement?
e.g. name.Contains("John") OR surname.Contains("Smith")
hi @jsancho,
Sorry, not yet implemented, but in roadmap !