One of the primary differences between SQL and MongoDB is that SQL tables have structured schemas and MongoDB can store documents that contain any group of data easily, regardless of structure.
Mongoose seems to focus highly on creating Schemas and assigning those schemas to documents. If I’m going to all the trouble to set up and assign schemas, why not just use SQL?
I’m not familiar enough to answer. But, I did find this. Maybe this sheds some light?
https://medium.com/better-programming/mongoose-vs-the-mongodb-node-driver-7dc59f00a5dd
Thanks for the reply. It’s an interesting read. I’m assuming I could use Mocha without Mongoose and still create tests that MongoDB would handle… right?
I’m not familiar enough to answer so perhaps someone else can chime in here…
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.