Skip to content

Commit 04da6bf

Browse files
Abhinav Sinhaido50
authored andcommitted
Added Not Like Any function
1 parent 4c423e8 commit 04da6bf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sqlz.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,10 @@ 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}
382+
}
383+
380384
// Parse implements the WhereCondition interface, generating SQL from
381385
// the condition
382386
func (simple SimpleCondition) Parse() (asSQL string, bindings []interface{}) {

0 commit comments

Comments
 (0)