From bf6a2e0282253be45581633705f6a7525583e973 Mon Sep 17 00:00:00 2001 From: Jake Boyles Date: Tue, 19 Jan 2016 13:52:48 -0500 Subject: [PATCH] adding to readme --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index a2831fa..f268ab8 100755 --- a/README.md +++ b/README.md @@ -106,6 +106,15 @@ You can also override these methods using the following syntax when running a se Searchy::driver('fuzzy')->users('name')->query('Batman')->get(); ``` + +## Soft Deletes + +By default soft deletes will not be included in your results. However, if you wish to include soft deletes you can add do so by followin the below syntax. + +```php +Searchy::trashed()->users('name')->query('Batman')->get(); +``` + ## Drivers Searchy takes advantage of 'Drivers' to handle matching various conditions of the fields you specify.