Skip to content

Commit

Permalink
Add get() method first example in joins section
Browse files Browse the repository at this point in the history
Missing `get()` can be misleading to users.
  • Loading branch information
machuga committed Mar 27, 2014
1 parent d5221d3 commit 4e44d40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ The query builder may also be used to write join statements. Take a look at the
DB::table('users')
->join('contacts', 'users.id', '=', 'contacts.user_id')
->join('orders', 'users.id', '=', 'orders.user_id')
->select('users.id', 'contacts.phone', 'orders.price');
->select('users.id', 'contacts.phone', 'orders.price')
->get();

#### Left Join Statement

Expand Down

0 comments on commit 4e44d40

Please sign in to comment.