The choices are over whelming. I looked at Mongoose and didn't like b/c I don't want I should have to model data when using Mongo. Any help is appreciated :)
Connect your Node. js applications to MongoDB and work with your data using the Node. js driver. The driver features an asynchronous API that you can use to access method return values through Promises or specify callbacks to access them when communicating with MongoDB.
Mongoose is not the only ODM library, there are hapijs/joi, MongoDB schemas, etc. And while Mongoose is good especially in areas of inferring data types, we should choose to use the MongoDB schema validation for schemas validation.
All features are supported. The Driver version will work with the MongoDB version, but not all new MongoDB features are supported.
There is really only one node.js MongoDB driver.
There are several other tools that sit on top of this driver.
Good list of MongoDB/Node.JS tools here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With