From 5e9760d5fb8fcae2ca9a4b4e531ac342eaa866f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20pavez?= Date: Fri, 29 Sep 2023 11:00:01 -0300 Subject: [PATCH] Clearing memory cache using upsert (#158) --- database/query.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/query.md b/database/query.md index 43dee05d..c4e96504 100644 --- a/database/query.md +++ b/database/query.md @@ -765,7 +765,7 @@ You may enable or disable the duplicate cache with either the `enableDuplicateCa Db::table('users')->enableDuplicateCache()->get(); ``` -If a query is stored in the cache, it will automatically be cleared when an insert, update, delete, or truncate statement is used. However you may clear the cache manually using the `flushDuplicateCache` method. +If a query is stored in the cache, it will automatically be cleared when an insert, update, delete, upsert, or truncate statement is used. However you may clear the cache manually using the `flushDuplicateCache` method. ```php Db::flushDuplicateCache();