View difference between Paste ID: HRbPtWRu and diRSB27b
SHOW: | | - or go back to the newest paste.
1
$qb->select('ip.address, COUNT(date.id)')
2
	->from('App\Ip', 'ip')
3-
	->leftJoin('ip.date', 'date');
3+
	->leftJoin('ip.date', 'date')
4
	->groupBy('ip.address');