Documentation: Added '!', the negation operator.
This commit is contained in:
committed by
Paul Beckingham
parent
f39ed79389
commit
d91c2b4138
@@ -859,14 +859,15 @@ modifier.
|
|||||||
|
|
||||||
You can use the following operators in filter expressions:
|
You can use the following operators in filter expressions:
|
||||||
|
|
||||||
and or xor Logical operators
|
and or xor ! Logical operators
|
||||||
< <= = == != !== >= > Relational operators
|
< <= = == != !== >= > Relational operators
|
||||||
( ) Precedence
|
( ) Precedence
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
task due.before:eom priority.not:L list
|
task due.before:eom priority.not:L list
|
||||||
task '( due < eom or priority != L )' list
|
task '( due < eom or priority != L )' list
|
||||||
|
task '! ( project:Home or project:Garden )' list
|
||||||
|
|
||||||
The
|
The
|
||||||
.I =
|
.I =
|
||||||
@@ -883,7 +884,8 @@ operators are the negation of
|
|||||||
.I =
|
.I =
|
||||||
and
|
and
|
||||||
.I ==
|
.I ==
|
||||||
respectively.
|
respectively. The negation operator is
|
||||||
|
.IR ! .
|
||||||
|
|
||||||
Note that the parentheses are required when using a logical operator other than
|
Note that the parentheses are required when using a logical operator other than
|
||||||
the 'and' operator. The reason is that some reports contain filters that must
|
the 'and' operator. The reason is that some reports contain filters that must
|
||||||
|
|||||||
Reference in New Issue
Block a user