3 ms·
This is a port of Eloquent from Laravel [0], which is brilliant. I haven't used this, but if it's a faithful port it'll be awesome. [0] https://twitter.com/lar
by mcintyre1994 14y ago
This is a port of Eloquent from Laravel [0], which is brilliant. I haven't used this, but if it's a faithful port it'll be awesome.
[0] https://twitter.com/laravelphp/status/333971780886728705 https://twitter.com/laravelphp/status/333971780886728705
- tgriesser 14y agoThe underlying query builder - http://knexjs.org http://knexjs.org - is much more of a 1-to-1 port. Bookshelf shares a number of similar features with eloquent, such as the process of defining relations, and handling eager/nested eager loading, but it also draws a lot of inspiration (and code) from the Model & Collection patterns of Backbone.js. I owe a lot of thanks to Taylor for writing Eloquent, he has been really helpful with any questions I've had in putting this together.
- bilalq 14y agoI love Eloquent and I love Backbone. It's awesome to see that you've harmonized the two for Node. I've only used SQL with Node once, and wrote raw queries for the most part. I'm looking forward to refactoring everything to use this. Nice work!
- mcintyre1994 14y agoAh, should have checked sorry, didn't notice you were the author submitting it. This looks great, cheers! :)