(cols []*pcast.ColumnName)
| 317 | } |
| 318 | |
| 319 | func (c *cc) convertColumnNames(cols []*pcast.ColumnName) *ast.List { |
| 320 | list := &ast.List{Items: []ast.Node{}} |
| 321 | for i := range cols { |
| 322 | name := identifier(cols[i].Name.String()) |
| 323 | list.Items = append(list.Items, &ast.ResTarget{ |
| 324 | Name: &name, |
| 325 | }) |
| 326 | } |
| 327 | return list |
| 328 | } |
| 329 | |
| 330 | func (c *cc) convertDeleteStmt(n *pcast.DeleteStmt) *ast.DeleteStmt { |
| 331 | stmt := &ast.DeleteStmt{ |
no test coverage detected