MongoDB Index Tutorial
MongoDB Index fundamentals If you have ever worked with any database (SQL or NoSQL), you probably know that the purpose of creating indexes is to speed up the queries at the cost of create/update/delete operations. MongoDB is no exception. MongoDB uses B-Tree as indexes’ data structure. This data structure offers fast queries. However, since the … Read more
MongoDB Aggregation Framework Cheat Sheet
Importing sample data This post is a quick introduction to the MongoDB Aggregation Framework. It’s a part of a mini-series called Mongo DB Cheatsheets To follow the tutorial, you need to import the following data: This sample is a list of 5 rich people from two families. The data contains their net worth and their … Read more
MongoDB Basic CRUD Cheat Sheet
If you have been doing software development for some time, you’d probably know what CRUD is. CRUD stands for CREATE-READ-UPDATE-DELETE. Those are the day to day task we do on databases, regardless of their types. Let’s get started by using a new database. As you may remember from the previous post, there is no “create” … Read more
Setup MongoDB Test Environment With Docker
This tutorial helps you quickly setup a MongoDB instance so you can start learning this topic right away. We are going to use MongoDB 5 in this series. I haven’t tested with other versions so if you are from the past or the future, make sure you use the correct version as in this post. … Read more
Getting started with Git
Git basic concepts Repository This is where we store our code. On our local machine, a repository is a directory contain code. Version control To put it short, version control systems are tool to keep track of code changes. It helps users easily investigate, view the state of the whole repository at a specific commit. … Read more