We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fc30d9 commit 0b6f814Copy full SHA for 0b6f814
cond.go
@@ -170,6 +170,15 @@ func (c *Cond) Like(field string, value interface{}) string {
170
return buf.String()
171
}
172
173
+// ILike represents "field ILIKE value".
174
+func (c *Cond) ILike(field string, value interface{}) string {
175
+ buf := newStringBuilder()
176
+ buf.WriteString(Escape(field))
177
+ buf.WriteString(" ILIKE ")
178
+ buf.WriteString(c.Args.Add(value))
179
+ return buf.String()
180
+}
181
+
182
// NotLike represents "field NOT LIKE value".
183
func (c *Cond) NotLike(field string, value interface{}) string {
184
buf := newStringBuilder()
0 commit comments