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

Function convertAlterCollationStmt

internal/engine/postgresql/convert.go:211–218  ·  view source on GitHub ↗
(n *pg.AlterCollationStmt)

Source from the content-addressed store, hash-verified

209}
210
211func convertAlterCollationStmt(n *pg.AlterCollationStmt) *ast.AlterCollationStmt {
212 if n == nil {
213 return nil
214 }
215 return &ast.AlterCollationStmt{
216 Collname: convertSlice(n.Collname),
217 }
218}
219
220func convertAlterDatabaseSetStmt(n *pg.AlterDatabaseSetStmt) *ast.AlterDatabaseSetStmt {
221 if n == nil {

Callers 1

convertNodeFunction · 0.85

Calls 1

convertSliceFunction · 0.85

Tested by

no test coverage detected