2 ms·
It's true that the most mature DB framework on nodejs plateform is Mongoose,so usually nodejs devs use mongoose to deal with data. No need to say that MongoDB i
by camus2 13y ago
It's true that the most mature DB framework on nodejs plateform is Mongoose,so usually nodejs devs use mongoose to deal with data. No need to say that MongoDB is not the right choice for apps that need transactions or when datas are heavily relational. And Mongoose doesnt support cascade operations.
Sequelize or Bookshelf are not mature enough for now IMHO,compared to what one can find on other plateforms like Java,Ruby or PHP. So you either need to write raw sql queries or delegate all transactions to another app layer.