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

Function convertAlterFdwStmt

internal/engine/postgresql/convert.go:310–319  ·  view source on GitHub ↗
(n *pg.AlterFdwStmt)

Source from the content-addressed store, hash-verified

308}
309
310func convertAlterFdwStmt(n *pg.AlterFdwStmt) *ast.AlterFdwStmt {
311 if n == nil {
312 return nil
313 }
314 return &ast.AlterFdwStmt{
315 Fdwname: makeString(n.Fdwname),
316 FuncOptions: convertSlice(n.FuncOptions),
317 Options: convertSlice(n.Options),
318 }
319}
320
321func convertAlterForeignServerStmt(n *pg.AlterForeignServerStmt) *ast.AlterForeignServerStmt {
322 if n == nil {

Callers 1

convertNodeFunction · 0.85

Calls 2

makeStringFunction · 0.85
convertSliceFunction · 0.85

Tested by

no test coverage detected