Ohh that's perfect AGGREGATION, good to know it. Thank you many times.

But I still can't find a way to limit unaggregated output:

 OPTIONAL MATCH (post:Post)-[:post_author]-author
       OPTIONAL MATCH post-[:posted_photos]-photo
       OPTIONAL MATCH photo-[:sizes]-size
       OPTIONAL MATCH photo-[:comments]-comment
       OPTIONAL MATCH photo-[:album_photos]-album

Do I have to use many queries, or is it possible with some trick to get let 
say 10 last posts, 5 photos and 3 comments?

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