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

Function convertAlterOperatorStmt

internal/engine/postgresql/convert.go:380–388  ·  view source on GitHub ↗
(n *pg.AlterOperatorStmt)

Source from the content-addressed store, hash-verified

378}
379
380func convertAlterOperatorStmt(n *pg.AlterOperatorStmt) *ast.AlterOperatorStmt {
381 if n == nil {
382 return nil
383 }
384 return &ast.AlterOperatorStmt{
385 Opername: convertObjectWithArgs(n.Opername),
386 Options: convertSlice(n.Options),
387 }
388}
389
390func convertAlterOwnerStmt(n *pg.AlterOwnerStmt) *ast.AlterOwnerStmt {
391 if n == nil {

Callers 1

convertNodeFunction · 0.85

Calls 2

convertObjectWithArgsFunction · 0.85
convertSliceFunction · 0.85

Tested by

no test coverage detected