1.20.x select.inc public SelectQuery::groupBy($field)

Implements SelectQueryInterface::groupBy().

return SelectQuery

Overrides SelectQueryInterface::groupBy

File

includes/database/select.inc, line 1653

Class

SelectQuery
Query builder for SELECT statements.

Code

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