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

Optional Match not work #168

Open
LianxinGao opened this issue Jul 12, 2022 · 0 comments
Open

Optional Match not work #168

LianxinGao opened this issue Jul 12, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@LianxinGao
Copy link
Contributor

reference: https://neo4j.com/docs/cypher-manual/current/clauses/optional-match/

match (x) where x.name = 'AAA' 
optional match (n) where n.name='AAaA' 
return x, n

if optional match doesn't match any data, x match 1 data, the result should be:

╒═════════════════════╤════╕
│"x" │"n" │
╞═════════════════════╪════╡
│{"name":"AAA","id":1}│null│
└─────────────────────┴────┘

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