cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Path query with a single node

aldrinm
Node Link

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

1 ACCEPTED SOLUTION

I see no problem to provide this functionality in the future. Created a ticket Support path query with a single node · Issue #200 · neo4j-contrib/cypher-dsl · GitHub with the content of your question.

View solution in original post

1 REPLY 1

I see no problem to provide this functionality in the future. Created a ticket Support path query with a single node · Issue #200 · neo4j-contrib/cypher-dsl · GitHub with the content of your question.