MCPcopy
hub / github.com/sqlc-dev/sqlc / Format

Method Format

internal/sql/ast/typedefs.go:23–30  ·  view source on GitHub ↗
(buf *TrackedBuffer, d format.Dialect)

Source from the content-addressed store, hash-verified

21}
22
23func (n *NullIfExpr) Format(buf *TrackedBuffer, d format.Dialect) {
24 if n == nil {
25 return
26 }
27 buf.WriteString("NULLIF(")
28 buf.join(n.Args, d, ", ")
29 buf.WriteString(")")
30}
31
32type Selectivity float64
33

Callers

nothing calls this directly

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected