Better HN
topnewbestaskshowjobs
Log inSign up

xakerbox

1 karma · joined Jul 27, 2022 (4y ago) · 3 submissions

Submissions

comment 4y ago · link · parent

When I look at SQL query, I understand it. This syntax even cry: SELECT, FROM, WHERE, AND, INNER, LEFT JOIN — use this words and get success. Nothing else. But typical ORM provides you a lot of 'underground process' — they're trying to simplify process, but as result — as developer I need to spend time on understanding 'What does that guys mean when then hide simple query from my eyes'.

Headfull ORM in my mind — it's ORM with clear syntax, typing and minimal possibility simply DESCRIBE your table and CRUD with any entities in that table with well-known SQL-syntax.

comment 4y ago · link · parent

Did you try to code Joins on TypeORM? I've bad news for you bro... It's no abstraction between 'SQL' and ORM... It's a different galaxy in mind of creators of that 'revolutionary ORM'.

I dream, that someday I will not spend hours and hours on understanding how to convert my SQL query to ORM. And I don't want to spend hours and hours on understanding that process — clients pay for time, they don't pay for tools that you use in your developing process.

comment 4y ago · link · parent

Understandable and clear process of joins and simplified table's description entity process... But there's no 'all in one' package for that stuff still exist :(