Sieve
Sieve copied to clipboard
Expression.Or (|| operator)
Sieve is quite limited when it comes to complex conditions. Make it possible to use Expression.Or
so something like filters=name==fu manchu||age=70,country=China
I have the same issue, I want to create a complex query with multiple "AND" and "OR" conditions with parentheses, example: (name==fu manchu | age==70),(country==China | country==Iraq)
@wrathofodin Any updates?
I'm using custom sort/filter methods to do more complex queries but they're not perfect. I could try to add it but I don't have time for that right now. See how and currently works:
https://github.com/Biarity/Sieve/blob/master/Sieve/Services/SieveProcessor.cs#L250