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

Method Format

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

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

215
216// Format implements the NodeFormatter interface.
217func (node *OrExpr) Format(ctx *FmtCtx) {
218 binExprFmtWithParen(ctx, node.Left, "OR", node.Right, true)
219}
220
221// NewTypedOrExpr returns a new OrExpr that is verified to be well-typed.
222func NewTypedOrExpr(left, right TypedExpr) *OrExpr {

Callers

nothing calls this directly

Calls 1

binExprFmtWithParenFunction · 0.85

Tested by

no test coverage detected