Skip to content

Commit ba81e79

Browse files
authored
Missing WhereNotIn method of Eloquent model
Need add "NotIn" element to array in getTypeClause method
1 parent a5278f3 commit ba81e79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CacheKey.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ protected function getQueryColumns(array $columns) : string
9090

9191
protected function getTypeClause($where) : string
9292
{
93-
$type =in_array($where['type'], ['In', 'Null', 'NotNull', 'between'])
93+
$type =in_array($where['type'], ['In', 'NotIn', 'Null', 'NotNull', 'between'])
9494
? strtolower($where['type'])
9595
: strtolower($where['operator']);
9696

0 commit comments

Comments
 (0)