phprs\ezsql\rules\select\WhereRule::where PHP Method

where() public method

where('a=?', 1) => "WHERE a=1" where('a=?', Sql::native('now()')) => "WHERE a=now()" where('a IN (?)', [1, 2]) => "WHERE a IN (1,2)"
public where ( string $expr, mixed $_ = null ) : GroupByRule
$expr string
$_ mixed
return GroupByRule
    public function where($expr, $_ = null)
    {
        WhereImpl::where($this->context, $expr, array_slice(func_get_args(), 1));
        return new GroupByRule($this->context);
    }