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

Method FormatSQL

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

Source from the content-addressed store, hash-verified

420}
421
422func (a *AlterTableModifyQuery) FormatSQL(formatter *Formatter) {
423 formatter.WriteString("MODIFY QUERY")
424 formatter.Indent()
425 formatter.Break()
426 formatter.WriteExpr(a.SelectExpr)
427 formatter.Dedent()
428}
429
430func (a *AlterTableModifySetting) FormatSQL(formatter *Formatter) {
431 formatter.WriteString("MODIFY SETTING")

Callers

nothing calls this directly

Calls 5

WriteStringMethod · 0.80
IndentMethod · 0.80
BreakMethod · 0.80
WriteExprMethod · 0.80
DedentMethod · 0.80

Tested by

no test coverage detected