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

Function convertAccessPriv

internal/engine/postgresql/convert.go:166–174  ·  view source on GitHub ↗
(n *pg.AccessPriv)

Source from the content-addressed store, hash-verified

164}
165
166func convertAccessPriv(n *pg.AccessPriv) *ast.AccessPriv {
167 if n == nil {
168 return nil
169 }
170 return &ast.AccessPriv{
171 PrivName: makeString(n.PrivName),
172 Cols: convertSlice(n.Cols),
173 }
174}
175
176func convertAggref(n *pg.Aggref) *ast.Aggref {
177 if n == nil {

Callers 1

convertNodeFunction · 0.85

Calls 2

makeStringFunction · 0.85
convertSliceFunction · 0.85

Tested by

no test coverage detected