buildCondition() public method
Parses the condition specification and generates the corresponding SQL expression.
public string buildCondition ( $indexes, $condition, &$params ) | ||
---|---|---|
$indexes | yii\sphinx\IndexSchema[] |
List of indexes, which affected by query |
$condition | string|array |
The condition specification. Please refer to yii\sphinx\Query::where() on how to specify a condition. |
$params | array |
The binding parameters to be populated |
return | string |
The generated SQL expression |
throws | yii\db\Exception |
if the condition is in bad format |
Please login to continue.