Introductie tot MongoDB in Python
Filip Schouwenaars
Machine Learning Researcher

| student_id | name | course_code | title |
|---|---|---|---|
| 1 | Amina | CS101 | Intro to Coding |
| 1 | Amina | MATH201 | Algebra Basics |
| 2 | Luca | CS101 | Intro to Coding |
Studenten
| student_id | name |
|---|---|
| 1 | Amina |
| 2 | Luca |
Studenten
| student_id | name |
|---|---|
| 1 | Amina |
| 2 | Luca |
Cursussen
| course_code | title |
|---|---|
| CS101 | Intro to Coding |
| MATH201 | Algebra Basics |
Studenten
| student_id | name |
|---|---|
| 1 | Amina |
| 2 | Luca |
Inschrijvingen
| student_id | course_code |
|---|---|
| 1 | CS101 |
| 1 | MATH201 |
| 2 | CS101 |
Cursussen
| course_code | title |
|---|---|
| CS101 | Intro to Coding |
| MATH201 | Algebra Basics |
Relationeel model



from pymongo import MongoClient# Create client (localhost) client = MongoClient()# Create client (remote server) client2 = MongoClient("mongodb+srv://usr:[email protected]")
Introductie tot MongoDB in Python