Skip to content

Commit 6cce090

Browse files
authored
Update README.md
1 parent f187ee1 commit 6cce090

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
@@ -205,7 +205,7 @@ or:
205205
### Disabling Caching of Queries
206206
There are two methods by which model-caching can be disabled:
207207
1. Use `->disableCache()` in a query-by-query instance.
208-
2. Set `MODEL_CACHE_DISABLED=TRUE` in your `.env` file.
208+
2. Set `MODEL_CACHE_ENABLED=false` in your `.env` file.
209209
3. If you only need to disable the cache for a block of code, or for non-
210210
eloquent queries, this is probably the better option:
211211
```php

0 commit comments

Comments
 (0)