getQueryCacheInfo() public method
Returns the current query cache information.
This method is used internally by yii\db\Command.
public array getQueryCacheInfo ( $duration, $dependency ) | ||
---|---|---|
$duration | integer |
The preferred caching duration. If null, it will be ignored. |
$dependency | yii\caching\Dependency |
The preferred caching dependency. If null, it will be ignored. |
return | array |
The current query cache information, or null if query cache is not enabled. |
Please login to continue.