neo4j EXTRACT with multiple items -



neo4j EXTRACT with multiple items -

i running demo illustration , query seems give error.

match p = (node0:movie) node0.title = "apollo 13" homecoming extract(n in nodes(p) | (id(n),label(n) ))

is there changed in community version 2.1.4 2.0.0 extract syntax?

the error is:

invalid input ',': expected whitespace, '.', node labels, '[', "=~", in, is, '^', '*', '/', '%', '+', '-', '<', '>', "<=", ">=", '=', "<>", "!=", and, xor, or or ')' (line 1, column 96) "match p = (node0:movie) node0.title = "apollo 13" homecoming extract(n in nodes(p) | (id(n),label(n) ))" ^

actually if want create tuples can utilize collection or map literals:

btw. have no path, single node. , misspelt labels function.

match p = (node0:movie) node0.title = "apollo 13" homecoming extract(n in nodes(p) | [id(n),labels(n)]) match p = (node0:movie) node0.title = "apollo 13" homecoming extract(n in nodes(p) | {id:id(n),labels:labels(n)})

neo4j

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -