─── AST ───────────────────────────────────────────────────────────────────── Format returns the formatted SQL for the full AST. Deprecated: use pkg/formatter.FormatAST() instead.
(opts FormatOptions)
| 54 | // |
| 55 | // Deprecated: use pkg/formatter.FormatAST() instead. |
| 56 | func (a AST) Format(opts FormatOptions) string { |
| 57 | if FormatASTFunc != nil { |
| 58 | return FormatASTFunc(&a, opts) |
| 59 | } |
| 60 | return a.SQL() |
| 61 | } |
| 62 | |
| 63 | // ─── Statement types ───────────────────────────────────────────────────────── |
| 64 |