Hi Huang,

Try this:

MATCH (r:root)-[]->(d)
RETURN r, d:

-Kamal

On Monday, December 4, 2017 at 11:46:31 PM UTC-8, Liping Huang wrote:
>
> Usually "limit" used to return the subset of the row
>
>
>
>
> <https://lh3.googleusercontent.com/-nEilCkduMeM/WiZLeMtTAvI/AAAAAAAAIJY/0KOGma0oKRg2AU-Rcl63mPh1e_EwbfMoACLcBGAs/s1600/%25E6%2597%25A0%25E6%25A0%2587%25E9%25A2%2598.png>
>
>
> the the graph as a example, the return row will be:
>
>
> *depth     limit   rows*
>
> 1               4       A B C D
> 2               4       A C D F
>
> seems the default behavior is return as many as the subset rows, but limit 
> the rows which direct to the root node, but how to return as many as the 
> nodes which link to the root nodes?
>
> 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 neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to