diff --git a/db/merge.go b/db/merge.go index 4fede17b..f8ae3ba7 100644 --- a/db/merge.go +++ b/db/merge.go @@ -315,7 +315,12 @@ func (d *document) mrgFld(ctx context.Context) (err error) { } } - d.current.Iff(val, key) + switch val.(type) { + default: + d.current.Iff(val, key) + case *sql.Void: + d.current.Del(key) + } return