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

Function intervalStyle

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

Source from the content-addressed store, hash-verified

2114}
2115
2116func intervalStyle(ctx ParseContext) duration.IntervalStyle {
2117 if ctx == nil {
2118 return duration.IntervalStyle_POSTGRES
2119 }
2120 return ctx.GetIntervalStyle()
2121}
2122
2123func dateParseHelper(ctx ParseContext) *pgdate.ParseHelper {
2124 if ctx == nil {

Callers 2

ParseAndRequireStringFunction · 0.85

Calls 1

GetIntervalStyleMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…