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

Struct CaseExpr

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

CaseExpr represents a CASE expression.

Source from the content-addressed store, hash-verified

1394
1395// CaseExpr represents a CASE expression.
1396type CaseExpr struct {
1397 Expr Expr
1398 Whens []*When
1399 Else Expr
1400
1401 typeAnnotation
1402}
1403
1404// Format implements the NodeFormatter interface.
1405func (node *CaseExpr) Format(ctx *FmtCtx) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected