MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / clauseSep

Method clauseSep

pkg/formatter/render.go:67–72  ·  view source on GitHub ↗

clauseSep returns the separator between SQL clauses.

()

Source from the content-addressed store, hash-verified

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

Callers 11

renderSelectFunction · 0.80
renderInsertFunction · 0.80
renderUpdateFunction · 0.80
renderDeleteFunction · 0.80
renderSetOperationFunction · 0.80
renderAlterTableFunction · 0.80
renderCreateIndexFunction · 0.80
renderCreateViewFunction · 0.80
renderMergeFunction · 0.80

Calls 1

indentStrMethod · 0.95

Tested by

no test coverage detected