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