[feat] Reset 支持 join

This commit is contained in:
what 2024-06-13 16:13:13 +08:00
parent 11651ea664
commit ab201ded50

View File

@ -2351,6 +2351,10 @@ func (b *Builder) Reset(targets ...string) *Builder {
delete(b.Bindings, TYPE_COLUMN)
delete(b.Components, TYPE_COLUMN)
b.Columns = nil
case TYPE_JOIN:
delete(b.Bindings, TYPE_JOIN)
delete(b.Components, TYPE_JOIN)
b.Joins = nil
}
}
return b