Arma el where like de la consutla
@param string $field
@param string $match
@param string $joker
@param bool $not
553873
public function where_like($field, $match, $joker='both', $not=FALSE){
        if($this->where != ''){$this->where.='AND ';}
        $this->like($field, $match, $joker, $not);
    }
1085934
public function whereBetween(string $field, $value1, $value2)
    {
        return $this->addCondition('AND', $field, [$value1, $value2], 'BETWEEN');
    }
368874
public function orNotLike(string $field, $val, string $pos='both'): QueryBuilderInterface
	{
		return $this->_like($field, $val, $pos, 'NOT LIKE', 'OR');
	}
1097451
public function exclude($field)
    {
        $fields = (is_array($field) ? $field : func_get_args());

        foreach ($fields as $field) {
            $this->fields[$field] = -1;
        }
    }
1181864
public function whereCmp($field, $operator, $value)
    {
        $bind_key = strpos($field, '.') ? strtr($field, '.', '_') : $field;
        $normalizedField = preg_replace('#\w+#', '[\\0]', $field);

        if ($operator === '=') {
            if ($value === null) {
                $this->_conditions[] = $normalizedField . ' IS NULL';
            } else {
                $this->_conditions[] = $normalizedField . '=:' . $bind_key;
                $this->_bind[$bind_key] = $value;
            }
        } elseif ($operator === '~=') {
            if ($value === 0 || $value === 0.0) {
                $this->_conditions[] = "$normalizedField IS NULL OR $normalizedField=0";
            } elseif ($value === '') {
                $this->_conditions[] = "$normalizedField IS NULL OR $normalizedField=''";
            } else {
                $this->_conditions[] = $normalizedField . '=' . $bind_key;
                $this->_bind[$bind_key] = $value;
            }
        } elseif ($operator === '!=' || $operator === '<>') {
            if ($value === null) {
                $this->_conditions[] = $normalizedField . ' IS NOT NULL';
            } else {
                $this->_conditions[] = $normalizedField . $operator . ':' . $bind_key;
                $this->_bind[$bind_key] = $value;
            }
        } elseif (in_array($operator, ['>', '>=', '<', '<='], true)) {
            $this->_conditions[] = $normalizedField . $operator . ':' . $bind_key;
            $this->_bind[$bind_key] = $value;
        } else {
            throw new MisuseException(['unknown `:operator` operator', 'operator' => $operator]);
        }

        return $this;
    }
1035597
public function whereNotNull($fields)
    {
        if (!is_array($fields)) {
            $fields = [$fields];
        }

        $exp = $this->newExpr();

        foreach ($fields as $field) {
            $exp->isNotNull($field);
        }

        return $this->where($exp);
    }
969729
public function where($field, $value)
    {
        if (!isset($this->_expression[$field]) || !is_array($value) || !is_array($this->_expression[$field])) {
            $this->_expression[$field] = $value;
        } else {
            $this->_expression[$field] = array_merge_recursive($this->_expression[$field], $value);
        }

        return $this;
    }
117894
public function acfLocationRulesMatch($match, $rule, $options)
    {
        $post_types = get_field('easy_reading_posttypes', 'option');

        if ($post_types) {
            if ($rule['operator'] == "==") {
                $match = (isset($options['post_type']) && in_array($options['post_type'], $post_types) && $options['post_id'] > 0);
            } elseif ($rule['operator'] == "!=") {
                $match = (isset($options['post_type']) && !in_array($options['post_type'], $post_types) && $options['post_id'] > 0);
            }
        }

        return $match;
    }
137969
public function notIn($field, array $values)
    {
        return function ($object) use ($field, $values) {
            return !in_array(ClosureExpressionBuilder::getObjectFieldValue($object, $field), $values);
        };
    }
592125
public function whereNotBetween($field, $condition, $logic = 'and')
    {
        $this->parseWhereExp($logic, $field, 'not between', $condition);
        return $this;
    }
575859
public static function conditionNotIn($field, array $values, $required = true)
    {
        return self::buildConditionIn($field, $values, $required, true);
    }
770208
public function whereMatch(string $field, string $query, $operator = "or", $fuzziness = 0)
    {
        $param = [
            "match" => [
                $field => [
                    "query" => $query,
                    "operator" => $operator,
                    "fuzziness" => $fuzziness
                ]
            ]
        ];

        $this->elasticQuery[] = $param;
        return $this;
    }
1012607
public function addNotBetweenCondition($field, $a, $b)
    {
        $this->conditions[] = ['BETWEEN', $field, $a, $b, false];

        return $this;
    }
952155
public function findWhereNotIn($field, array $values, $columns = ['*'])
    {
        $this->applyCriteria();
        $this->applyScope();
        $model = $this->model->whereNotIn($field, $values)->get($columns);
        $this->resetModel();

        return $this->parserResult($model);
    }
270166
public function whereNotIn($field, $values)
    {
        foreach ($this->queries as $query) {
            $query->whereNotIn($field, $values);
        }

        return $this;
    }
836529
public static function like($field, $value, $format = Like::CONTAINS, $dqlAlias = null)
    {
        return new Like($field, $value, $format, $dqlAlias);
    }
748403
public function notBetween($field, $a, $b)
    {
        $this->where->addNotBetweenCondition($field, $a, $b);

        return $this;
    }