الانتقال إلى المحتوى الرئيسي
الأكاديمية
مبتدئ حيّ الكود

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.

الدروس
١٤
الوقت
٢ ساعة
المستوى
مبتدئ

دروس هذا المسار بالإنجليزية حاليًا.

  • البرونز متاحة
  • الفضة متاحة
  • الذهب مقفلة

مستعد لإثبات نفسك؟

ثلاثة امتحانات في انتظارك: البرونز والفضة والذهب.

إلى الامتحانات

ما ستتمكن من فعله

  • 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. ١
    الوحدة ١

    Thinking in documents

    Documents and collections, CRUD in mongosh, query operators, sorting and indexes.

    ٠ / ٦
  2. ٢
    الوحدة ٢

    Model and aggregate

    Design documents around how you read them, build a leaderboard, and keep data honest.

    ٠ / ٤
  3. ٣
    الوحدة ٣

    What comes next

    Drivers, replica sets and sharding, search, and change streams.

    ٠ / ٤

التنقل السريع