(formatter *Formatter)
| 351 | } |
| 352 | |
| 353 | func (a *AlterTableDropPartition) FormatSQL(formatter *Formatter) { |
| 354 | formatter.WriteString("DROP ") |
| 355 | if a.HasDetached { |
| 356 | formatter.WriteString("DETACHED ") |
| 357 | } |
| 358 | formatter.WriteExpr(a.Partition) |
| 359 | if a.Settings != nil { |
| 360 | formatter.Break() |
| 361 | formatter.WriteExpr(a.Settings) |
| 362 | } |
| 363 | } |
| 364 | |
| 365 | func (a *AlterTableDropProjection) FormatSQL(formatter *Formatter) { |
| 366 | formatter.WriteString("DROP PROJECTION ") |
nothing calls this directly
no test coverage detected