MCPcopy Create free account
hub / github.com/dolthub/doltgresql / Format

Method Format

postgres/parser/sem/tree/set.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 *SetTransaction) Format(ctx *FmtCtx) {
178 ctx.WriteString("SET TRANSACTION")
179 node.Modes.Format(ctx)
180}
181
182// SetSessionCharacteristics represents a SET SESSION CHARACTERISTICS AS TRANSACTION statement.
183type SetSessionCharacteristics struct {

Callers

nothing calls this directly

Calls 2

WriteStringMethod · 0.80
FormatMethod · 0.65

Tested by

no test coverage detected