I am new to Phalconphp and trying to build a simple API.
I have a very basic issue....I am trying to retrive data from the database (around 7000 records).
when I set a limit of 50 records works; however, when i increase the limit to 100 or even remove the limit it does not work. Help!
///So this is my code that works..
public function listAction()
{
$users = Users::find( [ "limit" => 50 , "columns" => 'user_id, name'] )->toArray();
echo json_encode($users);
}
/// and this is my code return nothing.
public function listAction()
{
$users = Users::find( [ "limit" => 100 , "columns" => 'user_id, name'] )->toArray();
echo json_encode($users);
}
Is there a configuration in Phalcon that is afecting this query?