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

Method Format

postgres/parser/sem/tree/show.go:419–422  ·  view source on GitHub ↗

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

417
418// Format implements the NodeFormatter interface.
419func (node *ShowSyntax) Format(ctx *FmtCtx) {
420 ctx.WriteString("SHOW SYNTAX ")
421 ctx.WriteString(lex.EscapeSQLString(node.Statement))
422}
423
424// ShowTransactionStatus represents a SHOW TRANSACTION STATUS statement.
425type ShowTransactionStatus struct {

Callers

nothing calls this directly

Calls 2

EscapeSQLStringFunction · 0.92
WriteStringMethod · 0.80

Tested by

no test coverage detected