(formatter *Formatter)
| 244 | } |
| 245 | |
| 246 | func (a *AlterTableAddIndex) FormatSQL(formatter *Formatter) { |
| 247 | formatter.WriteString("ADD ") |
| 248 | if a.IfNotExists { |
| 249 | formatter.WriteString("IF NOT EXISTS ") |
| 250 | } |
| 251 | formatter.WriteExpr(a.Index) |
| 252 | if a.After != nil { |
| 253 | formatter.WriteString(" AFTER ") |
| 254 | formatter.WriteExpr(a.After) |
| 255 | } |
| 256 | } |
| 257 | |
| 258 | func (a *AlterTableAddProjection) FormatSQL(formatter *Formatter) { |
| 259 | formatter.WriteString("ADD PROJECTION ") |
nothing calls this directly
no test coverage detected