> match (a)-[r]->(b) where id(a)=4768 AND id(b)=4767 return count(r)

Am 04.03.2014 um 11:00 schrieb Modi Tamam <[email protected]>:

> I need to verify the existance of a relationship between two nodes (I have 
> their both Id's)
> 
> In the documentation that can be found here, in the relationships section, 
> there is a startNode and endNode functions.
> I wanted to write a query that will look something like that:
> 
> match ()-[r]->() where startNode(r)=4768 AND endNode(r)=4767 return count(r)
> 
> But I can't get it running, can someone elight me? plz...
> 
> -- 
> 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/groups/opt_out.

-- 
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/groups/opt_out.

Reply via email to