Skip to content

Instantly share code, notes, and snippets.

View roberjacobo's full-sized avatar
🥷
Focusing

Roberto Jacobo roberjacobo

🥷
Focusing
View GitHub Profile
First of all what is Immutability?, in Object-Oriented and functional programming an immutable object (Unchangeable) is an object whose
state cannot be modified after it's created.
Now what is exactly a primitive value, they are any immutable value that directly represents the lowest level of that language, all
types except objects define immutable values.
There are seven primitive values in JS:
Boolean:
Represents a logical entity that can have two values, true or false. Boolean conditionals are often used to decide which sections

Welcome to MongoDB Basics by Roberto Jacobo

Importing and Exporting Data

As we know MongoDB handle the data in JSON and BSON (Binary JSON) but, first we need to decide how we are going to handle de data.

JSON

mongoimport
mongoexport