(x string)
| 70 | } |
| 71 | |
| 72 | func (c *Compiler) quote(x string) string { |
| 73 | switch c.conf.Engine { |
| 74 | case config.EngineMySQL: |
| 75 | return "`" + x + "`" |
| 76 | default: |
| 77 | return "\"" + x + "\"" |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | func (c *Compiler) expandStmt(qc *QueryCatalog, raw *ast.RawStmt, node ast.Node) ([]source.Edit, error) { |
| 82 | tables, err := c.sourceTables(qc, node) |
no outgoing calls
no test coverage detected