I saw that there are some models relationships (http://docs.phalconphp.com/en/latest/reference/models.html#relationships-between-models) in Phalcon framework, so I tested it and saw in profiler that it makes child queries inside cycle. So it makes nice object but also tons of simple queries.
Is there are some alternative methods that use id collector and find them with IN SQL operator? And what are suggestions (maybe benchmarks?) about using table-relations or JOIN'ing.