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! 😄
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.
Good introduction and great tips.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.