public function SelectQueryInterface::groupBy in Drupal 7
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 includes/
database/ select.inc - Groups the result set by the specified field.
- SelectQueryExtender::groupBy in includes/
database/ select.inc - Groups the result set by the specified field.
File
- includes/
database/ select.inc, line 458
Class
- SelectQueryInterface
- Interface definition for a Select Query object.
Code
public function groupBy($field);