MongoDB
테이블 대신 문서로.
MongoDB stores data as documents: JSON-like records that can hold nested objects and arrays, so a whole post with its tags and comments fits in one place. This track starts from zero in mongosh, the MongoDB shell. You will insert, find, update and delete documents, filter them with query operators and speed them up with indexes. Then you will design your own collections, deciding what to embed and what to reference, turn game scores into a leaderboard with the aggregation pipeline, and protect your data with validation.
Every lesson uses the same small dataset from Nova, an imaginary social app, and shows the exact output of every command, so you always know what to expect.
- 레슨
- 14
- 시간
- 2시간
- 난이도
- 초급
이 코스의 레슨은 당분간 영어로 제공돼요.
- 브론즈 도전 가능
- 실버 도전 가능
- 골드 잠김
실력을 증명할 준비됐나요?
브론즈, 실버, 골드 세 가지 시험이 기다리고 있어요.
이 코스를 마치면 할 수 있는 것
- Insert, find, update and delete documents in mongosh
- Filter with query operators, dot notation and arrays
- Sort and page results, and speed up queries with indexes and explain
- Decide what to embed and what to reference
- Build a leaderboard with the aggregation pipeline and $lookup
- Guard a collection with $jsonSchema and know when you need a transaction
여정
1 챕터 1Thinking in documents
Documents and collections, CRUD in mongosh, query operators, sorting and indexes.
0 / 62 챕터 2Model and aggregate
Design documents around how you read them, build a leaderboard, and keep data honest.
0 / 43 챕터 3What comes next
Drivers, replica sets and sharding, search, and change streams.
0 / 4