When working with Mongo, you should be extending Phalcon\Mvc\Collection instead of Model. You can learn more about how to use collections and the phalcon odm here: docs.phalconphp.com/en/3.2/db-odm
– Armon BighamJul 13 '17 at 10:01

@Armon Bigham that worked, thanks. How can I add it as an accepted answer, I guess you must add it as an answer instead of a comment?
– Veselin BakovJul 13 '17 at 10:16

@VeselinBakov Glad it worked. I have added it as an answer :)
– Armon BighamJul 13 '17 at 10:19