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

Function naturalConstantType

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

Source from the content-addressed store, hash-verified

89}
90
91func naturalConstantType(c Constant) *types.T {
92 return c.AvailableTypes()[0]
93}
94
95// canConstantBecome returns whether the provided Constant can become resolved
96// as the provided type.

Callers 1

typeCheckOverloadedExprsFunction · 0.85

Calls 1

AvailableTypesMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…