canBeExplained() public static method Check if given query type can be explained. public static boolean canBeExplained ( $type )$type string Query type
buildOne() public method Builds a Lua script for finding one record public string buildOne ( $query )$query yii\redis\ActiveQuery The query used to build the script
getQueryBuilder() public method (available since version 2.1) Returns the query builder for the this MongoDB connection. public yii\mongodb\QueryBuilder getQueryBuilder ( )return yii\mongodb\QueryBuilder The query builder for the this MongoDB connection.
optionAliases() public method (available since version 2.0.8) Returns option alias names. Child classes may override this method to specify alias options. public array optionAliases ( )return array The options alias names valid for the action where the keys is alias name for option and value is option name.
flushValues() protected method Deletes all values from cache. Child classes may implement this method to realize the flush operation. protected boolean flushValues ( )return boolean Whether the flush operation was successful.
activeAttributes() public method Returns the attribute names that are subject to validation in the current scenario. public string[] activeAttributes ( )return string[] Safe attribute names
__construct() public method Constructor. public void __construct ( $modelClass, $config = [] )$modelClass array The model class associated with this query $config array Configurations to be applied to the newly created query object
removeMigrationHistory() protected abstract method Removes existing migration from the history. protected abstract void removeMigrationHistory ( $version )$version string Migration version name.
$duration public property Attribute search public integer $duration = 0
$timeout public property Timeout in milliseconds which will be used for connecting to the server. This is used by memcache only. For old versions of memcache that only support specifying timeout in seconds this will be rounded up to full seconds. public integer $timeout = 1000
Page 232 of 633