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 < [email protected]> wrote: > 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 <[email protected]>: > > Thank's. > In what use case, should I use the end/startNode methods? > > > On Tue, Mar 4, 2014 at 12:12 PM, Michael Hunger < > [email protected]> 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 <[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<http://docs.neo4j.org/refcard/2.0/>, >> 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. >> > > > > -- > Best Regards > Mordechai Tamam > > -- > 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. > -- Best Regards Mordechai Tamam -- 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.
