DEV Community

Cover image for Mongoose 101

Mongoose 101

Zell Liew 🤗 on December 18, 2019

Mongoose is a library that makes MongoDB easier to use. It does two things: It gives structure to MongoDB Collections It gives you helpful method...
Collapse
 
jsardev profile image
Jakub Sarnowski • Edited

I was using Mongo + Mongoose some time ago. After a few months using it, I realized, that Mongoose is actually trying to make Mongo a relational database - models, relationships... wait, what? SQL databases are a lot better for that!

Check out this article.

Anyways, nice introduction to the topic! 😄

Collapse
 
monfernape profile image
Usman Khalil

Interesting take.

Collapse
 
patricnox profile image
PatricNox

I made a discord bot aimed for league of legend teams, using Mongoose as the database service.

It's such a neat and clean solution for low end applications! Specially the fact that one doesn't have to create anything manually.

So a cron that cleans records is just simply deleting the collection without any problems.

Love it!

Collapse
 
dexfs profile image
André Santos

Good introduction and great tips.