From the course: Full Stack Web Development with Flask

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Creating the enrollment page

Creating the enrollment page

- [Instructor] Creating the Enrollment Page. In this video, we're going to create the enrollment page and look at the course enrollment process. And then also we'll be performing some join queries on these multiple collections using the aggregate function. This is going through this aggregation pipeline stages, we'll be using in some of these functions, such as the lookup, match and unwind to get the data. And so the syntax will look something similar to we see on the right side. This is just a incomplete syntax but we'll go and do that in the MongoDB. And so, there is a relationship that you will be dealing with here. It's a many-to-many relationship if you are familiar with the traditional or the relational database systems. So here we're dealing with three collections, the user, enrollment and course. And then the course and user collections are bound or combined by disjunction collection what we call this one that…

Contents