Changeset 0.25.4 (#164)
This commit is contained in:
@@ -46,7 +46,6 @@ func (b *UpdateBuilder) Set(col string, val interface{}) *UpdateBuilder {
|
||||
|
||||
// SetNull adds a col = NULL pair to the UPDATE.
|
||||
func (b *UpdateBuilder) SetNull(col string) *UpdateBuilder {
|
||||
b.argIdx++
|
||||
b.sets = append(b.sets, fmt.Sprintf("%s = NULL", col))
|
||||
return b
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user