MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / Format

Method Format

pkg/sql/sem/tree/txn.go:177–180  ·  view source on GitHub ↗

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

175
176// Format implements the NodeFormatter interface.
177func (node *BeginTransaction) Format(ctx *FmtCtx) {
178 ctx.WriteString("BEGIN TRANSACTION")
179 node.Modes.Format(ctx)
180}
181
182// CommitTransaction represents a COMMIT statement.
183type CommitTransaction struct{}

Callers

nothing calls this directly

Calls 1

FormatMethod · 0.65

Tested by

no test coverage detected