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

Function dateStyle

pkg/sql/sem/tree/datum.go:2109–2114  ·  view source on GitHub ↗
(ctx ParseContext)

Source from the content-addressed store, hash-verified

2107}
2108
2109func dateStyle(ctx ParseContext) pgdate.DateStyle {
2110 if ctx == nil {
2111 return pgdate.DefaultDateStyle()
2112 }
2113 return ctx.GetDateStyle()
2114}
2115
2116func intervalStyle(ctx ParseContext) duration.IntervalStyle {
2117 if ctx == nil {

Callers 6

ParseDDateFunction · 0.85
ParseDTimeFunction · 0.85
ParseDTimeTZFunction · 0.85
ParseDTimestampFunction · 0.85
ParseTimestampTZFunction · 0.85

Calls 2

DefaultDateStyleFunction · 0.92
GetDateStyleMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…