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

Function dateParseHelper

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

Source from the content-addressed store, hash-verified

2121}
2122
2123func dateParseHelper(ctx ParseContext) *pgdate.ParseHelper {
2124 if ctx == nil {
2125 return nil
2126 }
2127 return ctx.GetDateHelper()
2128}
2129
2130// ParseDDate parses and returns the *DDate Datum value represented by the provided
2131// string in the provided location, or an error if parsing is unsuccessful.

Callers 5

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

Calls 1

GetDateHelperMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…