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

Method Format

postgres/parser/sem/tree/expr.go:314–317  ·  view source on GitHub ↗

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

312
313// Format implements the NodeFormatter interface.
314func (node *IsNotNullExpr) Format(ctx *FmtCtx) {
315 exprFmtWithParen(ctx, node.Expr)
316 ctx.WriteString(" IS NOT NULL")
317}
318
319// NewTypedIsNotNullExpr returns a new IsNotNullExpr that is verified to be
320// well-typed.

Callers

nothing calls this directly

Calls 2

exprFmtWithParenFunction · 0.85
WriteStringMethod · 0.80

Tested by

no test coverage detected