On Sun, Nov 6, 2011 at 12:25 PM, Andres Taylor <
andres.tay...@neotechnology.com> wrote:

>
> 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?
>

Well, to be truthful about it - the stupid exception is also a problem.
It's been nagging me for some time, Cypher's syntax checking is not what I
would like it to be. Sorry about that...

Andrés
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to