Revision: 28368
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 7, 2010 15:41 by kwanhon
Initial Code
array( 'conditions' => array('Model.field' => $thisValue), //array of conditions 'recursive' => 1, //int 'fields' => array('Model.field1', 'DISTINCT Model.field2'), //array of field names 'order' => array('Model.created', 'Model.field3 DESC'), //string or array defining order 'joins' => array(), // array of arrays defining join operations 'group' => array('Model.field'), //fields to GROUP BY 'limit' => n, //int 'page' => n, //int 'offset'=> n, //int 'callbacks' => true //other possible values are false, 'before', 'after' )
Initial URL
http://book.cakephp.org/view/73/Retrieving-Your-Data
Initial Description
Initial Title
CakePHP Find Conditions
Initial Tags
php, cakephp
Initial Language
PHP