-
Notifications
You must be signed in to change notification settings - Fork 460
Open
Labels
enhancementNew requestNew requestoverride-staleTo keep issues/PRs untouched from stale actionTo keep issues/PRs untouched from stale action
Description
Currently we are running queries that require several Relationship (age.models.Edge) types to be filtered out.
We tried to approach it with OPTIONAL MATCH but it didn't suite as too well, since it requires first statement to have matches to process with the other.
Ended up with something like "MATCH ()-[r]-() WHERE r.type in ["type1", "type2"] RETURN r".
In OpenCypher specs there is a mention about PIPE operator that facilitates such OR statements for relationship types and it goes like: "MATCH ()-[r:type1|type2]-() RETURN r.
It feels a lot more natural to use. This one gives us "syntax error near |'.
Are there any plans to implement such operator or is it somehow limited?
Metadata
Metadata
Assignees
Labels
enhancementNew requestNew requestoverride-staleTo keep issues/PRs untouched from stale actionTo keep issues/PRs untouched from stale action