Skip to content

Commit

Permalink
Update lists docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed May 22, 2013
1 parent c404c09 commit 3fb254f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The database query builder provides a convenient, fluent interface to creating a

$roles = DB::table('roles')->lists('title');

This method will return an array of role titles, keyed by the role ID. You may also specify a custom key:
This method will return an array of role titles. You may also specify a custom key column for the returned array:

$roles = DB::table('roles')->lists('title', 'name');

Expand Down

0 comments on commit 3fb254f

Please sign in to comment.