czesiu89 opened a new issue, #865:
URL: https://github.com/apache/age/issues/865

   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?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@age.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to