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

Method FormatSQL

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

Source from the content-addressed store, hash-verified

319}
320
321func (a *AlterTableDelete) FormatSQL(formatter *Formatter) {
322 formatter.WriteString("DELETE")
323 formatter.Break()
324 formatter.WriteString("WHERE ")
325 formatter.WriteExpr(a.WhereClause)
326}
327
328func (a *AlterTableDetachPartition) FormatSQL(formatter *Formatter) {
329 formatter.WriteString("DETACH ")

Callers

nothing calls this directly

Calls 3

WriteStringMethod · 0.80
BreakMethod · 0.80
WriteExprMethod · 0.80

Tested by

no test coverage detected