Question

EntitySchemaQuery - Logical operation combination

Hello,

I need advice. Is possible logiacal operation between filters in EntitySchemaQuery combination? I need use filters:

Filter1 AND (Filter2 OR Filter3).

Thank you!

Marcela Uhrová

Like

1 comments

Dear Marcela,

All filters added to the Filters collection are interconnected by the AND logical operation. With the LogicalOperation property of the filters collection, the user can specify a logical operation by which filters should be joined. The property takes the following values from Terrasoft.core.enums.LogicalOperatorType list:

  • AND
  • OR
     

You can find out more about filters handling here.

With best regards,

Oliver

Log in or register to comment