Skip to content

Instantly share code, notes, and snippets.

@Casperhr
Created March 20, 2015 07:31
Show Gist options
  • Select an option

  • Save Casperhr/fc593075112fd9cf35ba to your computer and use it in GitHub Desktop.

Select an option

Save Casperhr/fc593075112fd9cf35ba to your computer and use it in GitHub Desktop.
public function test1() {
$this->FrontendUser->find('all',[
'limit' => 1000,
]);
$this->respond(200, true);
}
public function test2() {
$this->FrontendUser->find('all',[
'limit' => 1000,
'fields' => [
'id',
'name',
'first_name',
'last_name',
'location',
'summary',
'headline',
'linked_in_id',
'email',
'one_liner',
]
]);
$this->respond(200, true);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment