MATCH (n)
WHERE n.userId = "fcf223fbc74642e99b2db15fb11539aa" 
RETURN n;

Or

MATCH (n {userId: "fcf223fbc74642e99b2db15fb11539aa"}) 
RETURN n;

Sent from mobile device

Am 05.01.2014 um 14:58 schrieb Sukaant Chaudhary <[email protected]>:

> Hi Johannes,
> I tried this but it is not returning anything
> 
> 
> MATCH (n:userId)
> 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.

-- 
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