4 ms·
I was about to comment how similar the examples look to Laravel's Eloquent ORM/query builder. Objection.js says it's built on top of something called Knex.js, a
by deergomoo 6y ago
I was about to comment how similar the examples look to Laravel's Eloquent ORM/query builder. Objection.js says it's built on top of something called Knex.js, and sure enough:
> "Special thanks to Taylor Otwell and his work on the Laravel Query Builder, from which much of the builder's code and syntax was originally derived." [1]
I've always loved Eloquent. It doesn't shy away from the fact that it's never going to be able to do everything a SQL query can, instead it focuses on making the stuff that's tedious and error prone to do by hand really expressive, and lets you drop back to SQL when you really need to.
[1] http://knexjs.org http://knexjs.org