DB.PHP - PHP ORM

Load using custom query with pager

Query pager overrides query limit behavior if you call:

$query->pager (integer page[, integer count=50])

This will create pager object at $query->pager and you can later access it. To know more about \db\pager class object please read Load using pager from table.