From 845f2361acea2e83bfc7d1c8bb4dce5f72353f42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20pavez?= Date: Mon, 21 Aug 2023 13:03:57 -0400 Subject: [PATCH] Clearing memory cache using upsert Related to https://github.com/wintercms/storm/pull/154 --- 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();