MCPcopy Create free account
hub / github.com/dolthub/doltgresql / TypeCheck

Method TypeCheck

postgres/parser/sem/tree/type_check.go:1329–1333  ·  view source on GitHub ↗

TypeCheck implements the Expr interface.

(
	ctx context.Context, semaCtx *SemaContext, desired *types.T,
)

Source from the content-addressed store, hash-verified

1327
1328// TypeCheck implements the Expr interface.
1329func (expr *StrVal) TypeCheck(
1330 ctx context.Context, semaCtx *SemaContext, desired *types.T,
1331) (TypedExpr, error) {
1332 return typeCheckConstant(ctx, semaCtx, expr, desired)
1333}
1334
1335// TypeCheck implements the Expr interface.
1336func (expr *Tuple) TypeCheck(

Callers

nothing calls this directly

Calls 1

typeCheckConstantFunction · 0.85

Tested by

no test coverage detected