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

Method ResolvedType

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

ResolvedType implements the TypedExpr interface.

()

Source from the content-addressed store, hash-verified

1294
1295// ResolvedType implements the TypedExpr interface.
1296func (d *DCollatedString) ResolvedType() *types.T {
1297 return types.MakeCollatedString(types.String, d.Locale)
1298}
1299
1300// Compare implements the Datum interface.
1301func (d *DCollatedString) Compare(ctx *EvalContext, other Datum) int {

Callers

nothing calls this directly

Calls 1

MakeCollatedStringFunction · 0.92

Tested by

no test coverage detected