Python으로 배우는 MongoDB 입문
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 |
학생
| student_id | name |
|---|---|
| 1 | Amina |
| 2 | Luca |
학생
| student_id | name |
|---|---|
| 1 | Amina |
| 2 | Luca |
과목
| course_code | title |
|---|---|
| CS101 | Intro to Coding |
| MATH201 | Algebra Basics |
학생
| student_id | name |
|---|---|
| 1 | Amina |
| 2 | Luca |
수강 등록
| student_id | course_code |
|---|---|
| 1 | CS101 |
| 1 | MATH201 |
| 2 | CS101 |
과목
| course_code | title |
|---|---|
| CS101 | Intro to Coding |
| MATH201 | Algebra Basics |
관계형 모델



from pymongo import MongoClient# Create client (localhost) client = MongoClient()# Create client (remote server) client2 = MongoClient("mongodb+srv://usr:[email protected]")
Python으로 배우는 MongoDB 입문