You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Cypher to retrieve data in JSON format is difficult. Using the "WITH" clause outside the map object can force a lack of context that results in compounded queries with huge overhead. It is also near impossible to replicate inline queries similar to "GroupCount" step in gremlin.
That only leaves us with list and pattern comprehensions. While they are helpful, they cannot be nested to return multidimensional array structures from query results. Is there any plan to support a pattern comprehension within a pattern comprehension anytime soon. A sample example (not the exact use case) is shown below.
In the absence of
Using Cypher to retrieve data in JSON format is difficult. Using the "WITH" clause outside the map object can force a lack of context that results in compounded queries with huge overhead. It is also near impossible to replicate inline queries similar to "GroupCount" step in gremlin.
That only leaves us with list and pattern comprehensions. While they are helpful, they cannot be nested to return multidimensional array structures from query results. Is there any plan to support a pattern comprehension within a pattern comprehension anytime soon. A sample example (not the exact use case) is shown below.
[(n)-[:FRIEND_OF]->(f:Person) | [(f)-[:FRIEND_OF]->(b:Person) | b.age]]
Any reference from the nested query simply returns null.
Any solution or timeline on this will be appreciated.
The text was updated successfully, but these errors were encountered: