From 3228a1825d82c0fcd21d88613f121240c9c7141f Mon Sep 17 00:00:00 2001 From: jamesRUS52 <39707635+jamesRUS52@users.noreply.github.com> Date: Sat, 23 Dec 2023 21:46:19 +0300 Subject: [PATCH] JsonContainsKey supported (#454) --- src/CacheKey.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CacheKey.php b/src/CacheKey.php index 60d9082..4706655 100644 --- a/src/CacheKey.php +++ b/src/CacheKey.php @@ -271,7 +271,7 @@ protected function getTableSlug() : string protected function getTypeClause($where) : string { - $type = in_array($where["type"], ["InRaw", "In", "NotIn", "Null", "NotNull", "between", "NotInSub", "InSub", "JsonContains", "Fulltext"]) + $type = in_array($where["type"], ["InRaw", "In", "NotIn", "Null", "NotNull", "between", "NotInSub", "InSub", "JsonContains", "Fulltext", "JsonContainsKey"]) ? strtolower($where["type"]) : strtolower($where["operator"]);