If I'm using the following query then I'm getting the result but it is coming multiple times, I want it to come only once, I don't want the relation with (m):
MATCH (n)-->(m) WHERE HAS(n.userId) AND n.userId = "fcf223fbc74642e99b2db15fb11539aa" RETURN n; -Sukaant Chaudhary On Sun, Jan 5, 2014 at 7:17 PM, Johannes Mockenhaupt <[email protected]>wrote: > You'll want to use MATCH now, have a look at the manual: > http://docs.neo4j.org/chunked/stable/query-read.html > > The Cypher Refcard is also handy: > http://docs.neo4j.org/refcard/2.0/ > > On 01/05/2014 02:00 PM, Sukaant Chaudhary wrote: > > Hi, > > Please tell me how to replace this query for version 2.0 > > > > START n=node(*) > > WHERE has(n.userId) > > AND n.userId = {uid} > > RETURN n > > > > -Sukaant Chaudhary > > > > -- > > 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. > -- 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.
