I am trying to fetch all records from users table as below code:
$this->loadModel('User');
$users_list = $this->User->find('all');
pr($users_list);
but the resulting page shows like below:
Cake\ORM\Query Object
(
[_hasFields:protected] =>
[_autoFields:protected] =>
[_hydrate:protected] => 1
... continued with lot of lines
is I am writing anything wrong?... Thanks in advance