|
|
|
Ask HN: Why hasn't anyone invented a converter for ORM/raw SQL?
|
|
2 points
by jlei523
1414 days ago
|
|
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. |
|
https://en.m.wikipedia.org/wiki/Object%E2%80%93relational_im...