Skip to content

Commit

Permalink
Adding extra information about DboSource::fetchAll() and result caching.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 31, 2011
1 parent 840d27b commit 8ce6c31
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Cake/Model/Datasource/DboSource.php
Expand Up @@ -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
Expand Down

0 comments on commit 8ce6c31

Please sign in to comment.