(formatter *Formatter)
| 256 | } |
| 257 | |
| 258 | func (a *AlterTableAddProjection) FormatSQL(formatter *Formatter) { |
| 259 | formatter.WriteString("ADD PROJECTION ") |
| 260 | if a.IfNotExists { |
| 261 | formatter.WriteString("IF NOT EXISTS ") |
| 262 | } |
| 263 | formatter.WriteExpr(a.TableProjection) |
| 264 | if a.After != nil { |
| 265 | formatter.WriteString(" AFTER ") |
| 266 | formatter.WriteExpr(a.After) |
| 267 | } |
| 268 | } |
| 269 | |
| 270 | func (a *AlterTableAttachPartition) FormatSQL(formatter *Formatter) { |
| 271 | formatter.WriteString("ATTACH ") |
nothing calls this directly
no test coverage detected