Skip to content

Commit

Permalink
wording
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jul 6, 2017
1 parent 68e1f8e commit 00e9a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scout.md
Expand Up @@ -235,7 +235,7 @@ Since Scout searches return a collection of Eloquent models, you may even return
return App\Order::search($request->search)->get();
});

If you prefer to get the result returned from the engine, before it's converted to an Eloquent model collection, you can chain the `raw` method instead of `get`.
If you would like to get the raw results before they are converted to Eloquent models, you should use the `raw` method:

$orders = App\Order::search('Star Trek')->raw();

Expand Down

0 comments on commit 00e9a57

Please sign in to comment.