Mongodb Conventions

Use when designing or reviewing a MongoDB schema, query or aggregation pipeline: choosing between embedding and referencing, unbounded arrays and the 16 MiB document limit, $jsonSchema validation levels and actions, a schemaVersion field for gradual migrations, compound index key order (equality, sort, range), index collation, covered queries and the _id projection, $lookup performance, $project placement, and memory limits that spill pipeline stages to disk.

techmefr Updated

File contents

techmefr/mentis commit 7445ff17db

Frequently asked questions

npx get-skill add techmefr/mongodb-conventions