Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Excerpt
hiddentrue

orCondition() Returns an empty OR Pipe Filter Clause object which can be populated with Pipe Filter Conditions to build up a dynamic (script-defined) Pipe Filter.

Function: orCondition()

Returns an empty OR Pipe Filter Clause object which can be populated with Pipe Filter Conditions to build up a dynamic (script-defined) Pipe Filter. The Pipe Filter can then be used to fetch data from a Pipe.

...

$statusCond = orCondition(), $statusCond = addElement($statusCond, fieldCondition("productStatus", _EQUALS, "OK" ), $statusCond = addElement($statusCond, fieldCondition("productStatus", _EQUALS, "GOOD" ), $filter = orCondition(), $filter = addElement($filter, fieldCondition("productId", _EQUALS, in.productId) ), $filter = addElement($filter, $statusCond), ....

See Also