Week 12 - Session 1 - Relational/Nested Data

blog image source
It is important to carefully plan out your database structure on how you want to store data, how it is accessed, and what objects belong to other objects. There are two common data structures:

  • Relational Data - a collection of data items organized as a set of formally-described tables from which data can be accessed or reassembled in many different ways without having to reorganize the database tables.
  • Nested Data - performs a particular function and that is contained within a code that performs a broader function.


How I Conquered a Functioning (Relational) Database - https://medium.com/@dschro225/how-i-conquered-a-functional-relational-database-with-mongodb-and-mongoose-js-bbc025cd67fe
Model One-to-Many Relationships - https://docs.mongodb.com/manual/tutorial/model-embedded-one-to-many-relationships-between-documents/
Modelling Relational Data With Mongoose -https://alexzywiak.github.io/best-of-both-worlds-modelling-relational-data-with-mongoose/index.html

Popular posts from this blog

Week 9 to 12 - Learning with MCR Codes

Week 9 - Session 1 - The Internet, the Web, HTTP