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

Function newInvalidSQLDurationError

pkg/util/duration/parse.go:174–176  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

172)
173
174func newInvalidSQLDurationError(s string) error {
175 return pgerror.Newf(pgcode.InvalidDatetimeFormat, errInvalidSQLDuration, s)
176}
177
178// Parses a SQL standard interval string.
179// See the following links for examples:

Callers 2

sqlStdToDurationFunction · 0.85
iso8601ToDurationFunction · 0.85

Calls 1

NewfFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…