Skip to content

Instantly share code, notes, and snippets.

Mongo data modeling

2 ways of structuring relationships between documents

Embedded data models

 // user
  {
 _id: ObjectId('5d6f72b128f00f5856e04703'),

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

logo_ironhack_blue 7

General guidelines for labs/assignments

In this document, you will find all the steps you should follow when working on the labs (in the prework and during the bootcamp).

Step 1: Fork the repository

The majority of time, you will have to start the process with forking. Just a quick reminder on what is the process of forking.