$qb = $conn->createQueryBuilder()
->select('u.name')
->from('users', 'u')
->groupBy('u.lastLogin');
->addGroupBy('u.createdAt')
public addGroupBy ( mixed $groupBy ) | ||
$groupBy | mixed | The grouping expression. |
$qb = $conn->createQueryBuilder()
->select('u.name')
->from('users', 'u')
->groupBy('u.lastLogin');
->addGroupBy('u.createdAt')
public addGroupBy ( mixed $groupBy ) | ||
$groupBy | mixed | The grouping expression. |