How do I create a query that joins with using()
instead of on
?
I have this:
$games = DB::table('games')
->leftJoin('game_info', 'game_id')
->get();
I would like it to build a query that looks like this:
select * from games left join game_info using(game_id);