Skip to content

Commit 53f4097

Browse files
Abhinav Sinhaido50
authored andcommitted
updated to not like all
1 parent 04da6bf commit 53f4097

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sqlz.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,8 @@ func LikeAny(arr interface{}, value interface{}) ArrayCondition {
377377
return ArrayCondition{value, "LIKE", "ANY", arr}
378378
}
379379

380-
func NotLikeAny(arr interface{}, value interface{}) ArrayCondition {
381-
return ArrayCondition{value, "NOT LIKE", "ANY", arr}
380+
func NotLikeAll(arr interface{}, value interface{}) ArrayCondition {
381+
return ArrayCondition{value, "NOT LIKE", "ALL", arr}
382382
}
383383

384384
// Parse implements the WhereCondition interface, generating SQL from

0 commit comments

Comments
 (0)