On Nov 6, 2011 10:55 AM, "D. Frej" <dieter_f...@gmx.net> wrote: > > Hi, > > Cypher allows to define multiple starting points. Example: > start n=(1, 2, 3) return n (taken from > http://docs.neo4j.org/chunked/stable/query-start.html#start-multiple-nodes-by-id ) > > Can this only be done in the START clause or also in the MATCH clause, > like this? > > START principal=node:nodes(NAME='User 3') > MATCH (principal)-[:IS_MEMBER_OF*0..1]->()<-[:IS_MEMBER_OF*0..]-(n), (n, > principal)-[secRel:SECURITY]->(d) > RETURN d
The problem is the last part of the match, where you have (n,principal). What is it that you are trying to express with that? Andrés _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user