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

Method Format

internal/sql/ast/a_array_expr.go:14–21  ·  view source on GitHub ↗
(buf *TrackedBuffer, d format.Dialect)

Source from the content-addressed store, hash-verified

12}
13
14func (n *A_ArrayExpr) Format(buf *TrackedBuffer, d format.Dialect) {
15 if n == nil {
16 return
17 }
18 buf.WriteString("ARRAY[")
19 buf.join(n.Elements, d, ", ")
20 buf.WriteString("]")
21}

Callers

nothing calls this directly

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected