Developers

Operators

PQL supports the following operators, listed in the order of precedence:

Precedence

Operator

Description

Associativity

1

@

Used only on paths

None

2

-

+

~

Indicates negative numbers

Indicates positive numbers

Bitwise not

Right

3

**

Exponentiation operator

Left

4

||

Concatenates two strings

Left

5

*

/

Multiplies

Divides

Left

6

+

-

Adds

Subtracts

Left

7

^

&

|

<<

>>

Bitwise exclusive or

Bitwise and

Bitwise or

Left shift

Right shift

Left

8

>

<

>=

<=

Greater than

Less than

Greater than or equal to

Less than or equal to

Left

9

!=

=

IS

LIKE

MATCH

BETWEEN

ISNULL

NOTNULL

Not equal to

Equal to

Is

Similar to

Matches

Between

Is null

Is not null

Left

10

NOT

Not

Right

11

AND

And

Left

12

OR

Or

Left


How do I find out more?