Good afternoon, as a result of the execution of this query "MATCH (n: clients) - [r * 1..4] - (m) WHERE ID (n) = 73487 RETURN m, n, r LIMIT 1000" I get an array of 30 elements . In the neo4j browser, I get a normal graph, and the response to the code tab contains arrays for r. When using the connection through the driver, I get only one link in response. What could be the problem?
Решил проблему подключением через протокол bolt
Although it's odd but it seems that the bolt driver returns a Path instance for the
Instead of a collection of relationships. Not sure why.
As the syntax you use is deprecated it's probably better to use
MATCH path = (n: clients) - [* 1..4] - (m) WHERE ID (n) = 73487 RETURN m, n, path LIMIT 1000