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

Support path query with a single node #200

Closed
meistermeier opened this issue Jun 25, 2021 · 0 comments · Fixed by #201
Closed

Support path query with a single node #200

meistermeier opened this issue Jun 25, 2021 · 0 comments · Fixed by #201
Assignees

Comments

@meistermeier
Copy link
Collaborator

Using the cypher-dsl, Is it possible to create a query like,

MATCH p = (n:Movie) RETURN p

Seems like
Cypher.path("p").definedBy(..) only takes a RelationshipPattern and not a Node, so I can't do something like,
Cypher.path("p").definedBy(node("Movie"))

Wondering if there is way to achieve this
Thanks

From https://community.neo4j.com/t/path-query-with-a-single-node/40339

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants