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

Method Format

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

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

276
277// Format implements the NodeFormatter interface.
278func (node *IsNullExpr) Format(ctx *FmtCtx) {
279 exprFmtWithParen(ctx, node.Expr)
280 ctx.WriteString(" IS NULL")
281}
282
283// NewTypedIsNullExpr returns a new IsNullExpr that is verified to be
284// well-typed.

Callers

nothing calls this directly

Calls 1

exprFmtWithParenFunction · 0.85

Tested by

no test coverage detected