db\Connection getQueryCacheInfo()

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.

doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.