Intro & Documents
document model, รัน MongoDB ด้วย Docker, mongosh + Compass, BSON, document เทียบ relational เริ่ม →
ทุกคำสั่ง ผลลัพธ์ explain() และผลลัพธ์ aggregation ในคอร์สนี้ตรวจสอบกับ server MongoDB 8 จริง (Community Server 8.3.11 ผ่าน Docker, mongosh 2.11.1, Node driver 7.7.0 — ทุก fence ของ shell และ Node ถูกรันซ้ำด้วย npm run verify เมื่อ 2026-09-30) และกับเอกสารทางการที่ mongodb.com/docs/manual MongoDB Community Server ใช้สัญญาอนุญาต SSPL v1 สำหรับทุกรุ่นที่ออกตั้งแต่ 16 ตุลาคม 2018 (รุ่นก่อนหน้านั้นเป็น AGPLv3) — ดู mongodb.com/legal/licensing/community-edition
Intro & Documents
document model, รัน MongoDB ด้วย Docker, mongosh + Compass, BSON, document เทียบ relational เริ่ม →
CRUD
insertOne/Many, find, update operator ($set/$inc/$push), delete, upsert & bulkWrite สร้างและอ่าน →
Querying
comparison & logical operator, การ query array และ nested document, projection, sort, pagination query →
Indexes
single & compound index, กฎ ESR, explain() & query plan, multikey/text/TTL/partial/unique เร่งความเร็ว →
Aggregation
pipeline — $match/$project, $group, $lookup joins, $unwind, $facet & $bucket aggregate →
Data Modeling
embedding เทียบ referencing, ความสัมพันธ์, schema-design patterns, $jsonSchema validation, anti-patterns ออกแบบ →
Transactions & Consistency
single-document atomicity, multi-document transaction, read/write concern, change stream คงความสอดคล้อง →
Operations & Scaling
replica set, sharding, performance & profiling, security & Atlas รันจริง →
รันทุก query ได้ห้าแบบ
ทุก operation แสดงใน mongosh, Node.js, Python, Go และ Rust ผ่านแท็บที่ sync กัน เลือก driver ครั้งเดียวแล้วตามไปได้ตลอด
เห็น document จริง
การอ่านแสดงผลลัพธ์เป็น document JSON จริง คุณจึงรู้รูปร่างของสิ่งที่ได้กลับมาเสมอ
ไดอะแกรม + Compass + Docker
ไดอะแกรม Mermaid ที่รองรับธีม (pipeline, replica set, sharding, กฎ ESR), ทัวร์ GUI ของ MongoDB Compass และการตั้งค่า Docker เพื่อรันในเครื่อง
สองภาษา + read mode
ภาษาอังกฤษและไทย, แบบทดสอบที่บันทึกความคืบหน้า และโหมดอ่านแบบไร้สิ่งรบกวน