From the course: Data Modeling in MongoDB
Unlock the full course today
Join today to access over 25,200 courses taught by industry experts.
Solution - MongoDB Tutorial
From the course: Data Modeling in MongoDB
Solution
(upbeat music) - [Instructor] Okay, let's see how we did on this final challenge. First, we'll take a look at the visual, the ERD for this. Now, here we have an example solution of an ERD from our data model where we have the customer with some basic information but the big items here are the array of addresses and the addresses you'll see use a sub document defined as an address document. The wish list has an array of objects, which are defined as product objects or product sub document. And the cart has an array of cart items which again are products. So we've used sub documents to model the way that our bigger models look. And I think the visual of this really sort of seals the way that those things actually come together. The orders collection of course, has a back reference back to the customer to make that look up a lot easier. And the products documents, or the products collection given a product ID and the…
Contents
-
-
-
-
-
(Locked)
Schema versioning5m 19s
-
(Locked)
JSON Schema7m 39s
-
(Locked)
Modeling tools12m 35s
-
(Locked)
ORMs14m 32s
-
(Locked)
Challenge: Create a schema in a visual tool and in Mongoose1m 20s
-
(Locked)
Solution3m 31s
-
(Locked)
Using Copilot for business modeling18m 42s
-
(Locked)
Working with an AI CoPilot to fine-tune your schema14m 48s
-
(Locked)
Challenge: Create a schema with AI CoPilot1m 32s
-
(Locked)
-