Ask HN: Why hasn't anyone invented a converter for ORM/raw SQL? Take Prisma. Very useful to autocomplete tables and column names. Catches mistakes early. But my workflow generally goes like this: Write raw SQL in TablePlus to see what data comes back, then translate this raw SQL query into a Prisma query. Why not have a converter convert raw sql queries into Prisma queries? Another use case is as soon as any of my SQL queries get complicated (20+ lines), raw SQL becomes much easier to write. It'd be nice to automatically translate this to a Prisma query. |