So I have following problem. I wanted to use Phalcon\Paginator\Adapter\Model
with an implementation of Phalcon\Mvc\Collection
but since collections find method returns a native array instead of Phalcon\Mvc\Model\Resultset
the whole thing kind of breaks. Let's assume I have a huge collection and do not want to load the all the results into memory. Do you have any suggestions on how to solve this problem?
Thanks in advance for your answers!