Add a where in constraint to the request query.

@param  string $field
@param  array $values
@return $this
775068
public function whereIn($field, $values)
    {
        $list = array_map(function ($value) {
            return compact('value');
        }, $values);

        $this->condition[] = [
            'field' => compact('field'),
            'op' => '=',
            'value' => compact('list')
        ];

        return $this;
    }
359641
public function andWhereIn($column, array $values)
    {
        $this->where[] = [self::AND_WHERE_IN, $column, $values];

        return $this;
    }
593109
public function whereIn($field, array $values)
    {
        return $this->orFilter(function (Builder $query) use ($field, $values) {
            foreach ($values as $value) {
                $query->whereEquals($field, $value);
            }
        });
    }
664725
public function whereCmp($field, $operator, $value)
    {
        foreach ($this->queries as $query) {
            $query->whereCmp($field, $operator, $value);
        }

        return $this;
    }
775138
public function whereNotContains($field, $value)
    {
        foreach ($this->queries as $query) {
            $query->whereNotContains($field, $value);
        }

        return $this;
    }
1124937
public function orWhere($field, $value)
    {
        $this->reloadQueryAdapter();
        $this->activeQuery->orWhere($field, $value);
        return $this;
    }
1154010
protected function in($field, array $values, $not=FALSE){
        $this->where.= $field . ' ';
        if($not){$this->where.= 'NOT ';}
        $this->where.= 'IN (';
        foreach ($values as $value) {
            $this->where.= "'$value',";
        }
        $this->where= rtrim($this->where, ',');
        $this->where.= ') ';
    }
658682
public function set(array $values) : QueryBuilder
    {
        $this->_query[] = "SET";

        $set = [];
        foreach($values as $key => $val) {
            $set[] = $this->parseTags([$key, $val]);
        }

        $this->_query[] = implode(", ", $set);

        return $this;
    }
1204008
public function values($values)
    {
        if(!$values instanceof DatabaseQuerySelect)
        {
            if (!$this->columns && !is_numeric(key($values))) {
                $this->columns(array_keys($values));
            }

            $this->values[] = array_values($values);
        }
        else $this->values = $values;

        return $this;
    }
1011526
public function where($conditions, $values=null) {
		if(!$conditions)
			return $this;
		if($values !== null)
			$this->where[] = [$conditions => $values];
		else
			$this->where[] = $conditions;

		return $this;
	}
654697
public function addIn($field, $values, $whereConcat = 'AND')
    {
        if (!is_array($values)) {
            return $this;
        }

        $field = (0 < count($this->wheres) ? ' ' . $whereConcat . ' ' . $field : $field);

        //~ Bind values (more safety)
        $index  = 1;
        $fields = array();
        foreach ($values as $value) {

            $name = ':value_' . $index;

            $fields[]           = $name;
            $this->binds[$name] = (string) $value;

            $index++;
        }

        $this->wheres[] = $field . ' IN (' . implode(',', $fields) . ')';

        return $this;
    }
37945
public function AndWhere($condition, array $values) {
        $this->andWheres[] = $condition;
        $this->addBindValues($values);
        return $this;
    }
808419
protected function parseOrXValues($field, $values)
    {
        $exprs = array();
        foreach($values as $value) {
            $exprs[] = $this->parseFieldValue($field, $value);
        }

        return $this->expr()->orX($exprs);
    }
466850
public function eq($field, $value) {
        if (is_array($value)) {
            $this->in($field, $value);

        } else if ($value === null) {
            $this->null($field);

        } else {
            $this->add($field, '=', $value);
        }

        return $this;
    }
498689
public function pullAll(string $field, array $values)
    {
        $this->update();
        $this->mongoDbUpdate['$pullAll'][$field] = $values;

        return $this;
    }
181706
public function addQueryField($queryField,array $fields) {
        $valueField = $this->criteria->remove($queryField);
        if($valueField !== null){
            $this->addFieldLike($fields,$valueField);
        }
        return $this;
    }
874914
public function in($field, array $values)
    {
        return function ($object) use ($field, $values) {
            return in_array(ClosureExpressionBuilder::getObjectFieldValue($object, $field), $values);
        };
    }