ok, in my scenario it did not work due to a WHERE clause I had also 
included in my query (in short: it lead to a SyntaxException as node 
where checked for a property that not all nodes have).

Thanks anyway



Am 11.11.2011 22:43, schrieb Andres Taylor:
> On Fri, Nov 11, 2011 at 8:28 PM, D. Frej<dieter_f...@gmx.net>  wrote:
>
>> Hi,
>>
>> how can I put the condition "relationship between two nodes" in the
>> WHERE clause of a Cypher statement?
>>
>> I have the following Cypher (simplified):
>>
>> START p=...
>> MATCH p-...path...->(d1), p-...differentpath...->(d2)
>>
>> and I only want those d1 and d2 nodes that have a relationship.
>>
>> I tried
>> MATCH p-...path...->(d1), p-...differentpath...->(d2)--(d1)
>>
> Why is this not working? Can you share the real query with us? This
> pseudo-query looks like it should work.
>
> Andrés
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>

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

Reply via email to