[feat] Reset 支持 join
This commit is contained in:
parent
11651ea664
commit
ab201ded50
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user