framework/db/QueryBuilder.php
public function buildBetweenCondition($operator, $operands, &$params)
    {
        array_unshift($operands, $operator);
        return $this->buildCondition($operands, $params);
    }
public function buildBetweenCondition($operator, $operands, &$params)
    {
        array_unshift($operands, $operator);
        return $this->buildCondition($operands, $params);
    }
Creates an SQL expressions with the `BETWEEN` operator.
@param string $operator the operator to use (e.g. `BETWEEN` or `NOT BETWEEN`)
@param array $operands the first operand is the column name. The second and third operands
describe the interval that column value should be in.
@param array $params the binding parameters to be populated
@return string the generated SQL expression
@throws InvalidArgumentException if wrong number of operands have been given.
@deprecated since 2.0.14. Use `buildCondition()` instead.