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 <modi.ta...@gmail.com>:
>
> 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 neo4j+unsubscr...@googlegroups.com.
> 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 neo4j+unsubscr...@googlegroups.com.
> 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 neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to