I executed a query on my AgensGraph and get an error.
query:
match (a)-[b]-() with b match (a)-[b]-() return 1;
error message:
ERROR: duplicate variable "b"
But another query "match (a)-[b]-() with a match (a)-[b]-() return 1;" can run successfully, and does this mean that node variables can be referenced later while relationship variables cannot?
agensgraph version:2.13.1
I executed a query on my AgensGraph and get an error. query: match (a)-[b]-() with b match (a)-[b]-() return 1;
error message: ERROR: duplicate variable "b"
But another query "match (a)-[b]-() with a match (a)-[b]-() return 1;" can run successfully, and does this mean that node variables can be referenced later while relationship variables cannot?