Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch '2.0' of github.com:cakephp/cakephp into 2.0

  • Loading branch information...
commit ef4bb2239e7f0d16cb6d39e1e3e2ccf418a8b703 2 parents b9b7516 + 8ce6c31
@lorenzo lorenzo authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/Cake/Model/Datasource/DboSource.php
View
5 lib/Cake/Model/Datasource/DboSource.php
@@ -623,7 +623,10 @@ public function fetchRow($sql = null) {
*
* ### Options
*
- * - cache - Returns the cached version of the query, if exists and stores the result in cache
+ * - `cache` - Returns the cached version of the query, if exists and stores the result in cache.
+ * This is a non-persistent cache, and only lasts for a single request. This option
+ * defaults to true. If you are directly calling this method, you can disable caching
+ * by setting $options to `false`
*
* @param string $sql SQL statement
* @param array $params parameters to be bound as values for the SQL statement
Please sign in to comment.
Something went wrong with that request. Please try again.