HosipLan

Untitled

Apr 24th, 2014
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $qb->select('ip.address, COUNT(date.id)')
  2.     ->from('App\Ip', 'ip')
  3.     ->leftJoin('ip.date', 'date')
  4.     ->groupBy('ip.address');
Advertisement
Add Comment
Please, Sign In to add comment