Time to get MEAN!
Why you gotta be MEAN?
You go Glen Mongo-go! But none for Gretchen Weiners!
To start my venture into MEAN. I started with M, which is MongoDB. MongoDB is an open-source database that stores data in JSON-like documents. MongoDB is very similar to Relational Databases with some unique differences. A major difference is that tables are considered collections in MongoDB and to make a data model by creating separate tables in a database, you can create one collection that encompasses multiple tables that share a relationship with one another.
MongoDB allows for the creation of tables while also inserting records with one step. Below you’ll see a few queries that you can perform in MongoDB and their MySQL equivalent. In the first example, MongoDB allows you to to insert a new record, and if the collection (table) doesn’t already exist, it’ll create one, whereas SQL requires the table to exist.
My foray into MongoDB has so far been limited due not being familiar with the other software within MEAN, but MongoDB has shown to be very FETCH and interesting, and I hope to continue learning more about being MEAN!