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 |
Please login to continue.