Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"|" causes syntax error #2091

Open
dberardo-com opened this issue Sep 8, 2024 · 1 comment
Open

"|" causes syntax error #2091

dberardo-com opened this issue Sep 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@dberardo-com
Copy link

i am trying to use the pipe operator similarly to: https://neo4j.com/docs/cypher-manual/current/clauses/match/#match-on-multiple-rel-types

MATCH (wallstreet {title: 'Wall Street'})<-[:ACTED_IN|DIRECTED]-(person)
RETURN person.name

but it gives me syntax error.

is this operation supported? and if not:

  • what are alternatives?

if so:

  • is it supported for traversal as well, i.e. [:ACTED_IN*|DIRECTED*]

and more in general: the documentation does not make reference to the cypher specification the AGE adheres to. i am going through neo4j doc in order to figure that out, but i am not sure why there is no real doc about it on the AGE official website.

@dberardo-com dberardo-com added the bug Something isn't working label Sep 8, 2024
@alexgraul
Copy link

Hey, this is a duplicate of #1714 , there's a workaround there but no resolution.
More broadly AGE should support OpenCypher, which does have some differences from Neo4J's Cypher implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants