Last year, somewhere around Christmas, I started my journey as a NodeJS developer with MongoDB. I know in starting. I made many rookie mistakes and spend plenty of hours in StackOverflow and GitHub to find an appropriate solution. After several exhausting experiences. I find small but very useful tricks in MongoDB or mongoose.
When you execute any query in mongoose before the result, mongoose performs
hydrate() a model function, which is used to create a new document from existing raw data, pre-saved in the DB. The returned document Is an instance of Mongoose
Document class which is much heavy because…
Learn which for loop or iterator suits your requirement and stops you from making silly mistakes that cost your app performance.
But question is that do you really know which loop or iterate fits best according to your requirement. There are plenty of…
Before getting, in brief, I want to say I’m kind of a close-minded(rigid) person. Who laughs when someone talks about spirituality and astrological stuff. But after a few strange experiences, I changed a lot.
It’s all started when I coincidently notice the time. I was working on a client’s project. I received a message from a client at midnight approximately around 12.15 AM that some of their customers is facing some issues while accessing the website and told me to resolve it as soon as possible. I woke up and turn on my laptop to get an idea of what…
I Start Finding A Usable Package From Create A Sudoku Pair In Python. But I Fail So I Create My Own Package.
Install Package Using pip install sudoku-create.
You Can Suggest Me On My Source Code GitHub.
Help Me To Improve My Code I’m Noob 🤓🤓.