Hacker News new | ask | show | jobs
by igl 4131 days ago
I really really really like Knex. While Mongo claims to be "easy" and "js-native", It's far easier doing complicated queries with Knex on Postgres than on Mongo with the official client.

I work on a mongo project and doing aggregate queries is really ugly and painful. Everyone praising mongo probably never made "advanced" queries like that or dismissed SQL as shitty and unsecure without ever using it.

1 comments

What would be 'unsecure' about SQL? Not sure I ever heard that argument before.
unparamatarized queries are the usual issue, so not an issue with sql as much as how people misuse sql.