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