LIMIT is for rows

You can use subscripts for collections

> RETURN group1 + group2[0..10] as groups

Collect of a collection actually creates a nested collection.

Michael

Am 14.03.2014 um 20:47 schrieb Graham Berry <[email protected]>:

> Hello
> 
> How do you return a limit of nodes from a collection that combines two groups 
> like this:
> 
> RETURN COLLECT(group1 + group2) limit 10 
> 
> 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.

Reply via email to