public function SelectQueryInterface::groupBy

7.x select.inc public SelectQueryInterface::groupBy($field)

Groups the result set by the specified field.

Parameters

$field: The field on which to group. This should be the field as aliased.

Return value

SelectQueryInterface The called object.

2 methods override SelectQueryInterface::groupBy()
SelectQuery::groupBy in drupal/includes/database/select.inc
Groups the result set by the specified field.
SelectQueryExtender::groupBy in drupal/includes/database/select.inc
Groups the result set by the specified field.

File

drupal/includes/database/select.inc, line 458

Class

SelectQueryInterface
Interface definition for a Select Query object.

Code

public function groupBy($field);