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

Method GetIntervalStyle

pkg/sql/sem/tree/datum.go:2036–2036  ·  view source on GitHub ↗

GetIntervalStyle returns the interval style in the session.

()

Source from the content-addressed store, hash-verified

2034 GetCollationEnv() *CollationEnvironment
2035 // GetIntervalStyle returns the interval style in the session.
2036 GetIntervalStyle() duration.IntervalStyle
2037 // GetDateStyle returns the date style in the session.
2038 GetDateStyle() pgdate.DateStyle
2039 // GetDateHelper returns a helper to optimize parsing of datetime types.

Callers 1

intervalStyleFunction · 0.65

Implementers 1

simpleParseContextpkg/sql/sem/tree/datum.go

Calls

no outgoing calls

Tested by

no test coverage detected