()
| 103 | } |
| 104 | |
| 105 | func (e *ErrUnsupportedStatement) Error() string { |
| 106 | return fmt.Sprintf("transform %s: unsupported statement type %s", e.Transform, e.Got) |
| 107 | } |
| 108 | |
| 109 | // parseSQL parses a full SQL statement and returns the first statement's AST. |
| 110 | func parseSQL(sql string) (ast.Statement, error) { |
no outgoing calls