Skip to content

Commit 3e6be63

Browse files
authored
Update README.md
1 parent 35c88b4 commit 3e6be63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ cache for that single query. Disabling cache via the config flag still works.
130130

131131
**Recommendation: use option #1 in all your seeder queries to avoid pulling in
132132
cached information when reseeding multiple times.**
133-
You can disable a given query by using `disableCache()` in the query chain. It must be placed immediately behind the model, and not in the query chain. For example:
133+
You can disable a given query by using `disableCache()` anywhere in the query chain. For example:
134134
```php
135135
$results = $myModel->disableCache()->where('field', $value)->get();
136136
```

0 commit comments

Comments
 (0)