JamesMoss\Flywheel\Query::andWhere PHP Method

andWhere() public method

Adds a boolean AND predicate for this query,
public andWhere ( string | Closure $field, string $operator = null, string $value = null ) : Query
$field string | Closure The name of the field to match or an anonymous function that will define sub predicates.
$operator string An operator from the allowed list.
$value string The value to compare against.
return Query The same instance of this class.
    public function andWhere($field, $operator = null, $value = null)
    {
        $this->predicate->andWhere($field, $operator, $value);
        return $this;
    }