$users = Users::find(array(
"order" => "id"
));
$paginator = new \Phalcon\Paginator\Adapter\Model(
array(
"data" => $users,
"limit"=> 10,
"page" => $currentPage
)
);
A query of the form:
```sql
SELECT `users`.`id`, `users`.`role`, `users`.`firstname`, `users`.`lastname`, `users`.`email`, `users`.`birthday`, `users`.`sex`, `users`.`username`, `users`.`password`, `users`.`logins`, `users`.`last_login` FROM `users` ORDER BY `users`.`id`
That is no limit to automatically request does not exhibit. Do I need to put in your hand limit? If I have 100,000 users in the database...