News for hackers. Stuff that matters.
Re:What ORMs have taught me: just learn SQL (2014) by gernak on Friday September 20, 2019 @10:38PM (#21033148)
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
    `, [c1, c2, id, userId]);

There are no comments on this comment yet.