Skip to content

Commit abb9e99

Browse files
Abhinav Sinhaido50
authored andcommitted
added not like any function
1 parent 53f4097 commit abb9e99

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
@@ -381,6 +381,10 @@ func NotLikeAll(arr interface{}, value interface{}) ArrayCondition {
381381
return ArrayCondition{value, "NOT LIKE", "ALL", arr}
382382
}
383383

384+
func NotLikeANY(arr interface{}, value interface{}) ArrayCondition {
385+
return ArrayCondition{value, "NOT LIKE", "ANY", arr}
386+
}
387+
384388
// Parse implements the WhereCondition interface, generating SQL from
385389
// the condition
386390
func (simple SimpleCondition) Parse() (asSQL string, bindings []interface{}) {

0 commit comments

Comments
 (0)