buildBetweenCondition() public method
Creates an SQL expressions with the BETWEEN operator.
| public string buildBetweenCondition ( $indexes, $operator, $operands, &$params ) | ||
|---|---|---|
| $indexes | yii\sphinx\IndexSchema[] |
List of indexes, which affected by query |
| $operator | string |
The operator to use (e.g. |
| $operands | array |
The first operand is the column name. The second and third operands describe the interval that column value should be in. |
| $params | array |
The binding parameters to be populated |
| return | string |
The generated SQL expression |
| throws | yii\db\Exception |
if wrong number of operands have been given. |
Please login to continue.