Audit SQL anti-patterns in code or migrations.
Section: Refactor recipes
Find `SELECT *` usage
bash
bash
rg -i 'select\s+\*' .Explanation
Helpful for performance and style audits.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Refactor recipes
Find debug logging in source code
Locate `console.log` usage across a codebase.
Find deprecated API calls
Search for an old method across target languages.
Find a React hook across TSX files
Search only the frontend component surface.