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

Function naturalConstantType

pkg/sql/sem/tree/constant.go:99–101  ·  view source on GitHub ↗
(c Constant)

Source from the content-addressed store, hash-verified

97}
98
99func naturalConstantType(c Constant) *types.T {
100 return c.AvailableTypes()[0]
101}
102
103// canConstantBecome returns whether the provided Constant can become resolved
104// as a type that is Equivalent to the given type.

Callers 1

Calls 1

AvailableTypesMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…