Re:How We Went All In on sqlc/pgx for Postgres and Go
by Fire-Dragon-DoL on Wednesday September 08, 2021 @08:02PM
(#28464562)
If you are using an ORM and need to write a query that will run on a SQL server you *need SQL knowledge and ORM knowledge*. If you are missing one the two, you probably have just wrote something with big performance penalties. This has been seen over and over in the Rails community.
[ Parent
| on HN ]
Re:How We Went All In on sqlc/pgx for Postgres and Go
by mohanmcgeek on Wednesday September 08, 2021 @11:39PM
(#28465928)
Exactly my experience too.
The amount of SQL hatred from rails learning resources is unjustifiable.
If you're dealing with a relational database with SQL as its primary interface, you'll end up learning SQL eventually because all abstractions leak!