sqlc-dev/sqlc ? reverse-engineered prompt
Reverse engineered prompt
Build me a tool that takes plain SQL queries and turns them into type safe code I can use in my app.
I want to be able to write my database queries in SQL, point the tool at my schema, and then generate Go code with strongly typed methods and results so I can call those queries without worrying about mismatched columns or bad types. If it makes sense, also keep the door open for other languages like Kotlin, Python, and TypeScript the way the project already seems to support.
Please make the command line experience simple, add clear docs or examples for how to use it, and make sure it works well with common databases like PostgreSQL, MySQL, and SQLite. If you need to check current docs or edge cases, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit