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

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -