MCPcopy Create free account
hub / github.com/AfterShip/clickhouse-sql-parser / FormatSQL

Method FormatSQL

parser/format.go:2755–2763  ·  view source on GitHub ↗
(formatter *Formatter)

Source from the content-addressed store, hash-verified

2753}
2754
2755func (w *WindowClause) FormatSQL(formatter *Formatter) {
2756 formatter.WriteString("WINDOW ")
2757 for i, window := range w.Windows {
2758 window.FormatSQL(formatter)
2759 if i != len(w.Windows)-1 {
2760 formatter.WriteString(", ")
2761 }
2762 }
2763}
2764
2765func (w *WindowExpr) FormatSQL(formatter *Formatter) {
2766 formatter.WriteByte('(')

Callers

nothing calls this directly

Calls 2

WriteStringMethod · 0.80
FormatSQLMethod · 0.65

Tested by

no test coverage detected