Jet internal refactor.

This commit is contained in:
go-jet 2019-08-11 14:29:03 +02:00
parent 4fbf576370
commit ee4897a1e2
49 changed files with 481 additions and 2528 deletions

View file

@ -204,7 +204,7 @@ func (s *StatementImpl) serialize(statement StatementType, out *SqlBuilder, opti
if !contains(options, noWrap) {
out.WriteString("(")
out.increaseIdent()
out.IncreaseIdent()
}
for _, clause := range s.Clauses {
@ -216,7 +216,7 @@ func (s *StatementImpl) serialize(statement StatementType, out *SqlBuilder, opti
}
if !contains(options, noWrap) {
out.decreaseIdent()
out.DecreaseIdent()
out.NewLine()
out.WriteString(")")
}