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...
For further actions, you may consider blocking this person and/or reporting abuse
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! 😄
Interesting take.
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!
Good introduction and great tips.