Re:Write an SQL query builder in 150 lines of Python
by vlunkr on Friday August 27, 2021 @01:40PM
(#28330771)
Agreed, lots of comments here saying that people don't want to learn SQL, I don't buy that argument. I think most people already know SQL because at some point it's inevitable, and it's also not that hard.
The value of the ORM is what the name implies: mapping your data from rows into something convenient to use in your language.
What people are really complaining about is ORMs that needlessly try to re-invent SQL, but they don't all do this. Someone else brought up Ecto, it's a brilliant ORM because the resulting SQL is always obvious.
The value of the ORM is what the name implies: mapping your data from rows into something convenient to use in your language.
What people are really complaining about is ORMs that needlessly try to re-invent SQL, but they don't all do this. Someone else brought up Ecto, it's a brilliant ORM because the resulting SQL is always obvious.