framework/db/QueryBuilder.php
public function buildInCondition($operator, $operands, &$params)
    {
        array_unshift($operands, $operator);
        return $this->buildCondition($operands, $params);
    }
public function buildInCondition($operator, $operands, &$params)
    {
        array_unshift($operands, $operator);
        return $this->buildCondition($operands, $params);
    }
Creates an SQL expressions with the `IN` operator.
@param string $operator the operator to use (e.g. `IN` or `NOT IN`)
@param array $operands the first operand is the column name. If it is an array
a composite IN condition will be generated.
The second operand is an array of values that column value should be among.
If it is an empty array the generated expression will be a `false` value if
operator is `IN` and empty if operator is `NOT IN`.
@param array $params the binding parameters to be populated
@return string the generated SQL expression
@throws Exception if wrong number of operands have been given.
@deprecated since 2.0.14. Use `buildCondition()` instead.