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

Function isArray

internal/engine/postgresql/utils.go:7–12  ·  view source on GitHub ↗
(n *nodes.TypeName)

Source from the content-addressed store, hash-verified

5)
6
7func isArray(n *nodes.TypeName) bool {
8 if n == nil {
9 return false
10 }
11 return len(n.ArrayBounds) > 0
12}
13
14func isNotNull(n *nodes.ColumnDef) bool {
15 if n.IsNotNull {

Callers 1

translateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected