fix
This commit is contained in:
2
pgm.go
2
pgm.go
@@ -154,7 +154,7 @@ func (f Field) ILike(val string) Conditioner {
|
|||||||
// In using ANY
|
// In using ANY
|
||||||
func (f Field) In(val ...any) Conditioner {
|
func (f Field) In(val ...any) Conditioner {
|
||||||
col := f.String()
|
col := f.String()
|
||||||
return &Cond{Field: col, Val: val, op: " ANY($", action: CondActionNeedToClose, len: len(col) + 5}
|
return &Cond{Field: col, Val: val, op: " = ANY($", action: CondActionNeedToClose, len: len(col) + 5}
|
||||||
}
|
}
|
||||||
|
|
||||||
// NotIn using ANY
|
// NotIn using ANY
|
||||||
|
Reference in New Issue
Block a user