Multiple Query Arguments

Tinderbox Icon

A query may use more than one argument using logical joins.


( A & B )

Reads: if query A AND query B are true, then this compound query is true.

Contrast this with the &= operator (below).


( A &= B )

Reads: result is true if query A is currently true and, if so, if query B is also true.

Thus, if query A is false, query B is not checked and the overall result is false. Thus in some cases only query A is evaluated.

By comparison, with a ( A & B ) query both query A and query B are are always evaluated.

[Introduced in v2.4.0]


( A | B )

Reads: if query A OR query B is true, then this compound query is true.

Contrast this with the |= operator (below).


( A |= B )

Reads: result is true if query A is currently true or, if so if query B is true.

Thus, if query A is false, query B is not checked and the overall result is false. Thus in some cases only query A is evaluated.

By comparison, with a ( A | B ) query both query A and query B are are always evaluated.

[Introduced in v2.4.0]


(A | B) & ( C | ( D | E ) )

Reads: if (query A OR query B is true) AND (query C OR (either query D OR query E are true)), then this compound query is true.


Up: Agent Queries
Previous: Special Query Arguments  Next: Controlling Agent Update Cycle Time 

[Last updated: 3 Dec 2008]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox