redis\LuaScriptBuilder buildSum()

buildSum() public method Builds a Lua script for finding the sum of a column public string buildSum ( $query, $column )$query yii\redis\ActiveQuery The query used to build the script $column string Name of the column

redis\LuaScriptBuilder buildMax()

buildMax() public method Builds a Lua script for finding the max value of a column public string buildMax ( $query, $column )$query yii\redis\ActiveQuery The query used to build the script $column string Name of the column

redis\LuaScriptBuilder buildCondition()

buildCondition() public method Parses the condition specification and generates the corresponding Lua expression. public string buildCondition ( $condition, &$columns )$condition string|array The condition specification. Please refer to yii\redis\ActiveQuery::where() on how to specify a condition. $columns array The list of columns and aliases to be used return string The generated SQL expression throws yii\db\Exception if the condition is in bad format throws yii\base\NotSu

redis\LuaScriptBuilder buildCompositeInCondition()

buildCompositeInCondition() protected method protected void buildCompositeInCondition ( $operator, $inColumns, $values, &$columns )$operator $inColumns $values $columns

redis\LuaScriptBuilder buildColumn()

buildColumn() public method Builds a Lua script for finding a column public string buildColumn ( $query, $column )$query yii\redis\ActiveQuery The query used to build the script $column string Name of the column

redis\LuaScriptBuilder buildCount()

buildCount() public method Builds a Lua script for getting count of records public string buildCount ( $query )$query yii\redis\ActiveQuery The query used to build the script

redis\LuaScriptBuilder buildAll()

buildAll() public method Builds a Lua script for finding a list of records public string buildAll ( $query )$query yii\redis\ActiveQuery The query used to build the script

redis\Connection __call()

__call() public method Allows issuing all supported commands via magic methods. $redis->hmset(['test_collection', 'key1', 'val1', 'key2', 'val2']) public mixed __call ( $name, $params )$name string Name of the missing method to execute $params array Method call arguments

redis\LuaScriptBuilder buildAverage()

buildAverage() public method Builds a Lua script for finding the average of a column public string buildAverage ( $query, $column )$query yii\redis\ActiveQuery The query used to build the script $column string Name of the column

redis\Connection __sleep()

__sleep() public method Closes the connection when this component is being serialized. public array __sleep ( )