loading...

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... [Read Full]
markdown guide
 

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.

Love it!

 
code of conduct - report abuse