buildCondition() public method
Parses the condition specification and generates the corresponding SQL expression.
public string buildCondition ( $condition ) | ||
---|---|---|
$condition | string|array |
The condition specification. Please refer to yii\elasticsearch\Query::where() on how to specify a condition. |
return | string |
The generated SQL expression |
throws | yii\base\InvalidParamException |
if unknown operator is used in query |
throws | yii\base\NotSupportedException |
if string conditions are used in where |
Please login to continue.