Add support for comparison chains #62
Labels
subject/missing-syntax
Issues related to missing support for Cypher syntax
type/enhancement
New feature or request
Milestone
Currently, all comparison operators only implement
BooleanType
. This means that the following is not allowed:$a->gt($b)->gt($c)
That is because
$a->gt($b)
returns a BooleanType, which does not implement thegt
method. We would like to support this, since it is supported in Cypher. That is, the following two expressions are equivalent:a > b > c
anda > b AND b > c
This extends to all comparison operators and is not limited to three terms.
The text was updated successfully, but these errors were encountered: