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\NotSupportedException

if the condition is not an array

doc_Yii
2016-10-30 17:10:51
Comments
Leave a Comment

Please login to continue.