Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
03-13-2020 11:41 AM
03-13-2020 12:22 PM
Making some assumptions about your graph data (labels and properties), but you would use variable-length patterns in your MATCH something like this:
MATCH path = (start:Object {name:'Object0'})-[:CONNECTS_TO*]->(object:Object)
RETURN start.name as ColumnA, start.name as ColumnB, length(path) as NumberOfHopsAway
All the sessions of the conference are now available online