获取有十个节点的路径
MATCH p=(n)-[r*]-(m) where n.node_name=~".刘邦." and m.node_name=~".秦."
RETURN length§ as pathLength,[x IN nodes§ | x.node_name ] as nodeNames
limit 5
我想获取的有十个节点的路径,大佬们怎么过滤啊
MATCH p=(n)-[r*]-(m) where n.node_name=~".刘邦." and m.node_name=~".秦."
RETURN length§ as pathLength,[x IN nodes§ | x.node_name ] as nodeNames
limit 5
我想获取的有十个节点的路径,大佬们怎么过滤啊