diff --git a/src/CacheKey.php b/src/CacheKey.php index f23b312..25ed2b7 100644 --- a/src/CacheKey.php +++ b/src/CacheKey.php @@ -97,7 +97,7 @@ protected function getQueryColumns(array $columns) : string protected function getTypeClause($where) : string { - $type = in_array($where["type"], ["In", "NotIn", "Null", "NotNull", "between", "NotInSub", "InSub", "JsonContains"]) + $type = in_array($where["type"], ["InRaw", "In", "NotIn", "Null", "NotNull", "between", "NotInSub", "InSub", "JsonContains"]) ? strtolower($where["type"]) : strtolower($where["operator"]);