Skip to main content
May 9, 2022
Solved

Query Filter

  • May 9, 2022
  • 2 replies
  • 0 views

Hi,

I have a!queryEntity where I have to apply few filters for querying data.

I have to apply 3 filters with an "AND" along with these filters I have to apply additional 2 filters with "OR".

 Is this possible. Any advices please.

Best answer by mikes0011

This is fairly easy to do by nesting LogicalExpression calls.  Since a!queryLogicalExpression accepts additional logicalExpressions as a parameter, you can nest these to nearly any level needed (though the most I've ever needed is 2 or 3 layers; more than that would get a bit unmanageable).

2 replies

mikes0011
mikes0011Answer
Brainy
May 9, 2022

This is fairly easy to do by nesting LogicalExpression calls.  Since a!queryLogicalExpression accepts additional logicalExpressions as a parameter, you can nest these to nearly any level needed (though the most I've ever needed is 2 or 3 layers; more than that would get a bit unmanageable).

hari0002Author
May 9, 2022

Got it. Thanks.