Skip to content

Commit 3228a18

Browse files
authored
JsonContainsKey supported (#454)
1 parent 4e7d258 commit 3228a18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/CacheKey.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ protected function getTableSlug() : string
271271

272272
protected function getTypeClause($where) : string
273273
{
274-
$type = in_array($where["type"], ["InRaw", "In", "NotIn", "Null", "NotNull", "between", "NotInSub", "InSub", "JsonContains", "Fulltext"])
274+
$type = in_array($where["type"], ["InRaw", "In", "NotIn", "Null", "NotNull", "between", "NotInSub", "InSub", "JsonContains", "Fulltext", "JsonContainsKey"])
275275
? strtolower($where["type"])
276276
: strtolower($where["operator"]);
277277

0 commit comments

Comments
 (0)