We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

QUery Offset

so i'm trying to use the ->offset() , but its giving me an error : Call to undefined method Phalcon\Mvc\Model\Criteria::offset() . I'm using V3.0.0

edited Sep '16

Criteria class just don't have offset method - https://github.com/phalcon/cphalcon/blob/master/phalcon/mvc/model/criteria.zep

Use second parameter in limit method.

If you want you can do pr with this method though.