Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gernak
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2 ms
·
1.
▲
by
gernak
7y ago
You can only use a fraction of the features of a SQL database when you use an ORM because they don't translate to the new paradigm. When I am using a high level programming language, it is merely helping me do things like manage memory
2.
▲
by
gernak
7y ago
I am not picturing this update taking more than 3 lines of code with SQL either. Here is an update in one of my projects with names changed: await client.query(` update table set c1 = $1, c2 = $2 where id = $3 and userId = $4
3.
▲
by
gernak
7y ago
>You can (and should) use them for simple queries. This is not a very compelling argument to use ORMs. It is saying "it makes easy things easier". This doesn't really buy you much value. The simple things are already simpl