DEV Community

Discussion on: Mongodb-native over mongoose?

Collapse
 
iiddoo profile image
Ido Lev • Edited

Great discussion!
I am still using MongoDB naive driver for my applications, my seriously considering moving to mongoose.
The main reason is that security (JWT e.g.), modeling and verification (ObjectID e.g.) would be much easier and cleaner with mongoose.
Using mongoose bulit-in library, would allow you to reduce code from your project and let you focus on your core application.

Collapse
 
tojacob profile image
Jacob Samuel G.

Very true, sometimes we forget that productivity matters. With mongoose we are definitely more productive.