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

Method Format

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

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

184
185// Format implements the NodeFormatter interface.
186func (node *AndExpr) Format(ctx *FmtCtx) {
187 binExprFmtWithParen(ctx, node.Left, "AND", node.Right, true)
188}
189
190// NewTypedAndExpr returns a new AndExpr that is verified to be well-typed.
191func NewTypedAndExpr(left, right TypedExpr) *AndExpr {

Callers

nothing calls this directly

Calls 1

binExprFmtWithParenFunction · 0.85

Tested by

no test coverage detected