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

Method TypedTrueExpr

pkg/sql/sem/tree/expr.go:664–666  ·  view source on GitHub ↗

TypedTrueExpr returns the IfExpr's True expression as a TypedExpr.

()

Source from the content-addressed store, hash-verified

662
663// TypedTrueExpr returns the IfExpr's True expression as a TypedExpr.
664func (node *IfExpr) TypedTrueExpr() TypedExpr {
665 return node.True.(TypedExpr)
666}
667
668// TypedCondExpr returns the IfExpr's Cond expression as a TypedExpr.
669func (node *IfExpr) TypedCondExpr() TypedExpr {

Callers 1

normalizeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected