Re: [Neo4j] How to query for relationship by startNode and endNode

2014-03-04 Thread Modi Tamam
Sorry, didn't get it. Can you please share a link to a detailed explanation or example, I just couldn't find one. On Tue, Mar 4, 2014 at 12:54 PM, Michael Hunger < michael.hun...@neopersistence.com> wrote: > If you have the rel from a match or path and want to access either of > these nodes > >

Re: [Neo4j] How to query for relationship by startNode and endNode

2014-03-04 Thread Michael Hunger
If you have the rel from a match or path and want to access either of these nodes Sent from mobile device Am 04.03.2014 um 11:15 schrieb Modi Tamam : > Thank's. > In what use case, should I use the end/startNode methods? > > > On Tue, Mar 4, 2014 at 12:12 PM, Michael Hunger > wrote: >>> mat

Re: [Neo4j] How to query for relationship by startNode and endNode

2014-03-04 Thread Modi Tamam
Thank's. In what use case, should I use the end/startNode methods? On Tue, Mar 4, 2014 at 12:12 PM, Michael Hunger < michael.hun...@neopersistence.com> wrote: > 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 : > > I need to veri

Re: [Neo4j] How to query for relationship by startNode and endNode

2014-03-04 Thread Michael Hunger
> 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 : > 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, > ther

[Neo4j] How to query for relationship by startNode and endNode

2014-03-04 Thread Modi Tamam
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 somethi