Skip to content
Browse files

Expand doc blocks for Model::query()

There were some undocumented options that had test cases.

Refs #3748
  • Loading branch information...
markstory committed Apr 11, 2013
1 parent c77c7a7 commit b210849b953175629d50e0b4efd8336a9bed428f
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/Cake/Model/Model.php
@@ -3045,7 +3045,11 @@ public function isUnique($fields, $or = true) {
* Returns a resultset for a given SQL statement. Custom SQL queries should be performed with this method.
* @param string $sql,... SQL statement
* @param string $sql SQL statement
* @param boolean|array $params Either a boolean to control query caching or an array of parameters
* for use with prepared statement placeholders.
* @param boolean $cache If $params is provided, a boolean flag for enabling/disabled
* query caching.
* @return mixed Resultset array or boolean indicating success / failure depending on the query executed
* @link

0 comments on commit b210849

Please sign in to comment.
You can’t perform that action at this time.