public function SelectQueryInterface::groupBy

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);