Hacker News new | past | comments | ask | show | jobs | submit login

Cool! I've always found the weak point of Node is the libraries, they are often poorly supported and don't work well together. What's the ORM that comes with Laravel like, any good?



> What's the ORM that comes with Laravel like, any good?

Yes, it's pretty decent. Very flexible and always allows you to drop down to lower levels when you need to. knex.js is a port of Laravel's query builder from PHP to JS. But Laravel also has an active record style ORM system on top of the query builder.


Nice, I currently use knex.js with Objection which provides the active record like API on top. You still have to write the migrations in knex but to be honest I prefer it that way because it gives you more control so if you ever do need to drop down to lower levels you know the exact structure.


I have used quite a few ORMs in JS and in PHP, and Laravel's ORM is really one if the best, if not the best.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: