Match property query against list of values



I am looking for a way to match property value in a query against a list like

match $e has name in [“A”, “B”, “C”]


match $c has mykey in [10, 12, 15]

I hope I did not miss this in the documentation but this type of match would be quite handy for my current queries.

Many thanks in advance for any advice


Hi Fuad,

We don’t currently support syntax like you suggest, but we definitely plan to in the future.

To achieve the same effect (but with reduced performance), we support an or statement:

$e has name $n;
$n val "A" or $n val "B" or $n val "C";