clauseSep returns the separator between SQL clauses.
()
| 65 | |
| 66 | // clauseSep returns the separator between SQL clauses. |
| 67 | func (f *nodeFormatter) clauseSep() string { |
| 68 | if f.opts.NewlinePerClause { |
| 69 | return "\n" + f.indentStr() |
| 70 | } |
| 71 | return " " |
| 72 | } |
| 73 | |
| 74 | func (f *nodeFormatter) result() string { |
| 75 | return f.sb.String() |
no test coverage detected