(n *pg.CreateUserMappingStmt)
| 1334 | } |
| 1335 | |
| 1336 | func convertCreateUserMappingStmt(n *pg.CreateUserMappingStmt) *ast.CreateUserMappingStmt { |
| 1337 | if n == nil { |
| 1338 | return nil |
| 1339 | } |
| 1340 | return &ast.CreateUserMappingStmt{ |
| 1341 | User: convertRoleSpec(n.User), |
| 1342 | Servername: makeString(n.Servername), |
| 1343 | IfNotExists: n.IfNotExists, |
| 1344 | Options: convertSlice(n.Options), |
| 1345 | } |
| 1346 | } |
| 1347 | |
| 1348 | func convertCreatedbStmt(n *pg.CreatedbStmt) *ast.CreatedbStmt { |
| 1349 | if n == nil { |
no test coverage detected