Is there a way to return the result of query as list of Nodes and Relationships ?e.g.{ "relationships":[ {} , {} , {} ] , "nodes":[ {} , {} ]}I noticed this parameter:resultDataContents = "graph" //, "rows"But this still returns long list of r...
Thanks @glilienfield Whole graph:MATCH ( x ) return x Or subgraphs: MATCH ( x :Unit )-[ r1 :RUNS ]-( y :Job )-[ r2 :AWAITS ]-( z :Auditor ) RETURN x, r1 , y , r2 , z Ideally is there a way to return any query as collection of Nodes and Relationshi...
Thanks @glilienfield Ninja , This does not seem to work:Type mismatch: expected Path but was Node (line 1, column 32 (offset: 31))\n"match (p) RETURN {nodes: nodes(p), relationships: relationships(p)} as result"