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

Function FmtDataConversionConfig

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

FmtDataConversionConfig modifies FmtCtx to contain items relevant for the given DataConversionConfig.

(dcc sessiondatapb.DataConversionConfig)

Source from the content-addressed store, hash-verified

373// FmtDataConversionConfig modifies FmtCtx to contain items relevant for the
374// given DataConversionConfig.
375func FmtDataConversionConfig(dcc sessiondatapb.DataConversionConfig) FmtCtxOption {
376 return func(ctx *FmtCtx) {
377 ctx.dataConversionConfig = dcc
378 }
379}
380
381// FmtLocation modifies FmtCtx to contain the correct location.
382func FmtLocation(loc *time.Location) FmtCtxOption {

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…