July 2017

This article first appeared on dev.to. You can find the original discussion here

It’s everywhere !

Software is everywhere. In our cars, our planes, our computers. Our banks use software. We use it to communicate every single day, every single second. Our governments can’t pass laws without relying on software at some point. Hell, my grandmother even use software! She has a bank account, a car and some insurance! No one escapes it.

Continue reading The Programmer’s Oath

Read more

Introduction

To continue my series on the CRUD (Create, Read, Update, Delete) API in MongoDB, we will talk about the ‘D’, deleting documents.

Note: I will be using the MongoDB shell in my terminal to show some examples. If you do not have it installed, please refer to my Quick start with MongoDB article

As always, MongoDB has explicit methods names to describe its actions. So, to delete documents from a collection, we have two methods: deleteOne() and deleteMany(). Both of these methods take a filter as their first parameter. Let’s see these in action:
Continue reading Removing documents in MongoDB

Read more

In this article, we will go through the different data types that MongoDB supports. Let’s start with the basic types first. We can identify 6 basic types: null, boolean, numeric, string, array and object. If you are familiar with JSON, the representation of data in MongoDB will look familiar. JSON allows you to represent data by using key/value pairs and use those six basic types.
Continue reading Data types in MongoDB

Read more