Hi Andrii, Thanks alot, that does help my case :)
Regards, Renuka. On Monday, November 24, 2014 4:01:33 PM UTC+5:30, Andrii Stesin wrote: > > Do you want both (n1) and (n2) to match your criteria (and be labeled > :A:B:C) or only (n2) ? > > Do you need to match only nodes which are connected with relationships of > *either* type R1 *or* R2? Syntax with tho relationship types like > [:R1:R2] seems suspicious to me. Correct syntax for "either R1 or R2" is > with vertical bar '|' in between > <http://neo4j.com/docs/stable/query-match.html#match-match-by-multiple-relationship-types>, > > and I'm in doubt that 2 simultaneous types for a single relationship is not > a syntax error. > > Will just > > MATCH (n:A:B:C) WHERE NOT n :D RETURN n; > > suffice? > > WBR, > Andrii > > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
