MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / Format

Method Format

pkg/sql/ast/format_compat.go:56–61  ·  view source on GitHub ↗

─── AST ───────────────────────────────────────────────────────────────────── Format returns the formatted SQL for the full AST. Deprecated: use pkg/formatter.FormatAST() instead.

(opts FormatOptions)

Source from the content-addressed store, hash-verified

54//
55// Deprecated: use pkg/formatter.FormatAST() instead.
56func (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

Callers

nothing calls this directly

Calls 1

SQLMethod · 0.95

Tested by

no test coverage detected