MCPcopy Index your code
hub / github.com/sqlc-dev/sqlc / convertReassignOwnedStmt

Function convertReassignOwnedStmt

internal/engine/postgresql/convert.go:2334–2342  ·  view source on GitHub ↗
(n *pg.ReassignOwnedStmt)

Source from the content-addressed store, hash-verified

2332}
2333
2334func convertReassignOwnedStmt(n *pg.ReassignOwnedStmt) *ast.ReassignOwnedStmt {
2335 if n == nil {
2336 return nil
2337 }
2338 return &ast.ReassignOwnedStmt{
2339 Roles: convertSlice(n.Roles),
2340 Newrole: convertRoleSpec(n.Newrole),
2341 }
2342}
2343
2344func convertRefreshMatViewStmt(n *pg.RefreshMatViewStmt) *ast.RefreshMatViewStmt {
2345 if n == nil {

Callers 1

convertNodeFunction · 0.85

Calls 2

convertSliceFunction · 0.85
convertRoleSpecFunction · 0.85

Tested by

no test coverage detected