mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Adding extra information about DboSource::fetchAll() and result caching.
This commit is contained in:
parent
840d27bbb9
commit
8ce6c31708
1 changed files with 4 additions and 1 deletions
|
@ -623,7 +623,10 @@ class DboSource extends DataSource {
|
|||
*
|
||||
* ### 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
|
||||
|
|
Loading…
Add table
Reference in a new issue