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

Function convertList

internal/engine/postgresql/convert.go:68–74  ·  view source on GitHub ↗
(l *pg.List)

Source from the content-addressed store, hash-verified

66}
67
68func convertList(l *pg.List) *ast.List {
69 out := &ast.List{}
70 for _, item := range l.Items {
71 out.Items = append(out.Items, convertNode(item))
72 }
73 return out
74}
75
76func convertSlice(nodes []*pg.Node) *ast.List {
77 out := &ast.List{}

Callers 1

convertNodeFunction · 0.85

Calls 1

convertNodeFunction · 0.85

Tested by

no test coverage detected