Re:Ask HN: Why hasn't anyone invented a converter for ORM/ra...
by russellbeattie on Saturday July 30, 2022 @12:02AM
(#32284180)
There's always an impedence mismatch for anything but the simplest data structures. It's SQL 101. Try it a few times and you'll see what a pain in the ass it is - there's always tradeoffs. Remember, the objects need to write data as well as read it. If your SQL Query is especially complex, reversing the joins to update individual tables can be a nightmare.
https://en.m.wikipedia.org/wiki/Object%E2%80%93relational_im...