r/javascript • • Dec 10 '19

Stop using Knex.js

https://medium.com/@gajus/stop-using-knex-js-and-earn-30-bf410349856c
0 Upvotes

20 comments sorted by

View all comments

9

u/kelmore5 Dec 10 '19 edited Dec 10 '19

I mean, as someone who came from a Python / Java & JPA background to using JS, Knex makes a lot of sense to me. I feel like it reads better as JS code then SQL queries do. There may be real advantage in using only queries for the sole purpose of showing DBAs, but why would a DBA be looking over JS anyway if that was the case?

Also, this seems like a plug for the author's alternative. Seems like a lot of people agree too: https://www.reddit.com/r/node/comments/apu4tn/stop_using_knexjs_and_get_30/

2

u/zaiste Dec 10 '19

I'm not sure if you are directing this comment specifically to me/OP. I'm *not* the author of the article. I also disagree with its premise. I've posted it to see what other people are thinking in hope to change my mind or to confirm my opinion.

3

u/kelmore5 Dec 10 '19

Oop! It does seem like that, sorry!