1 select.inc public SelectQuery::groupBy($field)

Implements SelectQueryInterface::groupBy().

return SelectQuery

Overrides SelectQueryInterface::groupBy

File

core/includes/database/select.inc, line 1653

Class

SelectQuery
Query builder for SELECT statements.

Code

public function groupBy($field) {
  $this->group[$field] = $field;
  return $this;
}