MATCH (c:City) WITH c LIMIT 1 MATCH (p:Person)--(c:City) RETURN *
On Thu, May 29, 2014 at 10:53 AM, Alex Frieden <[email protected]> wrote: > More particularly, I want all people, just the first city. > > > On Thursday, May 29, 2014 10:52:40 AM UTC-4, Alex Frieden wrote: >> >> Hi I have the query: >> MATCH (p:Person)--(c:City) RETURN p,c; >> >> However I just want to return the first one. How can I do that? Thanks! >> > -- > 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/d/optout. > -- 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/d/optout.
