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

Method Format

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

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

305
306// Format implements the NodeFormatter interface.
307func (node *IsNotNullExpr) Format(ctx *FmtCtx) {
308 exprFmtWithParen(ctx, node.Expr)
309 ctx.WriteString(" IS NOT NULL")
310}
311
312// NewTypedIsNotNullExpr returns a new IsNotNullExpr that is verified to be
313// well-typed.

Callers

nothing calls this directly

Calls 1

exprFmtWithParenFunction · 0.85

Tested by

no test coverage detected