Week 07 → Day 030 → Monday → September 18, 2017

Index Relational vs Non-Relational Databases – 6:15
MongoDB – 10:00
Mongoose – 23:30
Object Document Mapper (ODM)
mongod
Mongoose.connect
Mongoose.Schema
Mongoose.model
module.exports
Model.find()
Model.findById()
Model.find().remove()Model.findByIdAndRemove() .save()
Error first callback
_id

Resources

MongoDB docs – https://docs.mongodb.com/manual/tutorial/query-documents/
mongoose docs – http://mongoosejs.com/docs/guide.html
Express Routing – https://expressjs.com/en/guide/routing.html

Relational vs Non-Relational Databases – 6:15

Relational databases like MySQL and PostgreSQL represent and store data in tables and rows. They're based on a branch of algebraic set theory known as relational algebra.

Non-relational databases like MongoDB represent data in collections of JSON documents.

What is MongoDB?

MongoDB is an open-source document database that provides high performance, high availability, and automatic scaling.

What are common use cases for MongoDB?

MongoDB is a general purpose database that is used for a variety of use cases. The most common use cases for MongoDB include Single View, Internet of Things, Mobile, Real-Time Analytics, Personalization, Catalog, and Content Management.

MongoDB is one of the most popular NoSQL databases in use today. The Mongoose ODM (Object Data Modeling) library provides structure to MongoDB through the use of its dynamic schemas.

What is Mongoose? ODM

MongoDB Object Document Mapper.

Mongoose provides a straight-forward, schema-based solution to model your application data. It includes built-in type casting, validation, query building, business logic hooks and more, out of the box.

mongod

Is the primary daemon process for the MongoDB system. It handles data requests, manages data access, and performs background management operations.

results matching ""

    No results matching ""