DQL (Doctrine Query Language) - Conditional expressions - Operators and operator precedence.php 359 Bytes
Newer Older
hansbrix's avatar
hansbrix committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
The operators are listed below in order of decreasing precedence.

*  Navigation operator (.)
*  Arithmetic operators: 

+, - unary 

*, / multiplication and division 

+, - addition and subtraction 

*  Comparison operators : =, >, >=, <, <=, <> (not equal), [NOT] LIKE, 

[NOT] IN, IS [NOT] NULL, IS [NOT] EMPTY 

*  Logical operators:

NOT 

AND 

OR  


25