3 ms·
The trick is to have it run it through sqlglot and correct the errors.
by nojito 1y ago
The trick is to have it run it through sqlglot and correct the errors.
- yakz 1y agoThis kind of thing is a key point. Tell Claude Code to build the project, run linters, run the tests, and fix the errors. This (in my experience) has a good chance of filtering out mistakes. Claude is fully capable of running all of the tools, reading the output, and iterating. Higher level mistakes will need code written in a way that is testable with tests that can catch them, although you probably want that anyway.