Wednesday, 15 June 2011

graph - Find node with element in array -



graph - Find node with element in array -

i can't find anywhere on net cypher query allow me find nodes contain specific element in array.

to give example, have

0 {name:"john", email:["j@example.com", "j@test.com"]}

what query find john email?

i realised easier expected, might have improve answer.

match (n) "j@example.com" in n.emails homecoming collect(n)

graph neo4j nosql cypher

No comments:

Post a Comment