Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
12-20-2022 04:48 AM
Hi team,
I am getting this issue when i try to get all end nodes
using query
12-20-2022 05:48 AM
This seems to be a duplicate issue to the one you referenced. Is the some difference you want help with.
12-20-2022 05:51 AM
yes both are same issue
in reference I just created some data to explain my issue
12-20-2022 10:00 AM
@mohit_geeky wrote:
match p=(n:ASSET {uniqueID:"some id"})-[m*]-() return p
You are getting the whole graph because you want to traverse the graph without any direction. So, it traverses that way across the graph.
You can fix it by changing it to
match p=()-->(n:ASSET {uniqueID:"some id"})-->() return p
This will honor the directions and you should get the data you want.
All the sessions of the conference are now available online