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

Function FmtLocation

pkg/sql/sem/tree/format.go:382–386  ·  view source on GitHub ↗

FmtLocation modifies FmtCtx to contain the correct location.

(loc *time.Location)

Source from the content-addressed store, hash-verified

380
381// FmtLocation modifies FmtCtx to contain the correct location.
382func FmtLocation(loc *time.Location) FmtCtxOption {
383 return func(ctx *FmtCtx) {
384 ctx.location = loc
385 }
386}
387
388// NewFmtCtx creates a FmtCtx; only flags that don't require Annotations
389// can be used.

Callers 3

pgwireFormatMethod · 0.85
pgwireFormatMethod · 0.85
AsJSONFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…