BookShelf, Simple ORM for Node
github.com
BookShelf, Simple ORM for Node
1–10 of 27 posts
Re: BookShelf, Simple ORM for Node
#2Re: BookShelf, Simple ORM for Node
#3Re: BookShelf, Simple ORM for Node
#4Re: BookShelf, Simple ORM for Node
#5My biggest problem with bookshelf is that it automatically grabs column names, so you don't (by default) have any representation in code of what the dang model looks like. Since JS is not typed, this can lead to a lot of having no idea what might be going on unless you wrote the code yourself
Re: BookShelf, Simple ORM for Node
#6Re: BookShelf, Simple ORM for Node
#7My biggest problem with bookshelf is that it automatically grabs column names, so you don't (by default) have any representation in code of what the dang model looks like. Since JS is not typed, this can lead to a lot of having no idea what might be going on unless you wrote the code yourself
On the other hand, this behavior is quite nice if you want to quickly build something around an existing database and you don't really want to spend time reenumerating the entire schema in code before being able to leverage the ORM.
Re: BookShelf, Simple ORM for Node
#8I was battling with Sequelize JS for a long time, then discovered Bookshelf. A breath of fresh air, it works so much better. Plus, the underlying library (Knex) is also fantastic for raw queries, migrations, etc.