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

Method Format

pkg/sql/sem/tree/set.go:147–154  ·  view source on GitHub ↗

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

145
146// Format implements the NodeFormatter interface.
147func (node *SetTracing) Format(ctx *FmtCtx) {
148 ctx.WriteString("SET TRACING = ")
149 // Set tracing values never contain PII and should be distinguished
150 // for feature tracking purposes.
151 ctx.WithFlags(ctx.flags&^FmtMarkRedactionNode, func() {
152 ctx.FormatNode(&node.Values)
153 })
154}

Callers

nothing calls this directly

Calls 2

WithFlagsMethod · 0.80
FormatNodeMethod · 0.80

Tested by

no test coverage detected