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

Implements SelectQueryInterface::groupBy().

Return value

SelectQuery:

Overrides SelectQueryInterface::groupBy

File

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

Class

SelectQuery
Query builder for SELECT statements.

Code

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