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

Method Format

pkg/sql/sem/tree/create.go:2194–2199  ·  view source on GitHub ↗

Format implements the Statement interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

2192
2193// Format implements the Statement interface.
2194func (node *CreateExternalConnection) Format(ctx *FmtCtx) {
2195 ctx.WriteString("CREATE EXTERNAL CONNECTION")
2196 ctx.FormatNode(&node.ConnectionLabelSpec)
2197 ctx.WriteString(" AS ")
2198 ctx.FormatURI(node.As)
2199}
2200
2201// CreateTenant represents a CREATE VIRTUAL CLUSTER statement.
2202type CreateTenant struct {

Callers

nothing calls this directly

Calls 2

FormatNodeMethod · 0.80
FormatURIMethod · 0.80

Tested by

no test coverage detected