Updating API docblock for Model::query()

This commit is contained in:
ADmad 2012-04-03 19:06:41 +05:30
parent 34a730dfd8
commit 7ed90c72ae

View file

@ -3001,7 +3001,7 @@ class Model extends Object implements CakeEventListener {
* Returns a resultset for a given SQL statement. Custom SQL queries should be performed with this method.
*
* @param string $sql,... SQL statement
* @return array Resultset
* @return mixed Resultset array or boolean indicating success / failure depending on the query executed
* @link http://book.cakephp.org/2.0/en/models/retrieving-your-data.html#model-query
*/
public function query($sql) {