Skip to content

Commit

Permalink
JsonContainsKey supported (#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesRUS52 authored Dec 23, 2023
1 parent 4e7d258 commit 3228a18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CacheKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -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"]);

Expand Down

0 comments on commit 3228a18

Please sign in to comment.