We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Example Node
class Extension(StructuredNode): extension = RelationshipTo('Extension', 'extension', cardinality=ZeroOrMore)
Now the query is:
n = ... # node of type Extension for ne in n.extension.all(): pass
The n.extension.all() produces invalid query string as follows:
n.extension.all()
MATCH (extension) WHERE id(extension)=12796 WITH extension MATCH ((extension)-[r1:extension]->(extension:Extension)) RETURN extension
The correct query should be something like the below (see the different match variable extension1)
extension1
MATCH (extension) WHERE id(extension)=12796 WITH extension MATCH ((extension)-[r1:extension]->(extension1:Extension)) RETURN extension1
This took me quite a while to figure out since it was buried under layers of logic and also because of this #588
The text was updated successfully, but these errors were encountered:
Fix #589 match relationship with same name as source and target nodes
bfa75f6
Merge pull request #753 from neo4j-contrib/task/issue-589
9e89359
No branches or pull requests
Example Node
Now the query is:
The
n.extension.all()
produces invalid query string as follows:The correct query should be something like the below (see the different match variable
extension1
)This took me quite a while to figure out since it was buried under layers of logic and also because of this #588
The text was updated successfully, but these errors were encountered: