Browse Source

adding to readme

master
Jake Boyles 9 years ago
parent
commit
bf6a2e0282
  1. 9
      README.md

9
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(); 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 ## Drivers
Searchy takes advantage of 'Drivers' to handle matching various conditions of the fields you specify. Searchy takes advantage of 'Drivers' to handle matching various conditions of the fields you specify.

Loading…
Cancel
Save