NoSQL databases: MongoDB basics
Database Management Systems · Engineering
Study notes
Store a product catalog in MongoDB: db.products.insertOne({name:'laptop', price:50000, specs:{ram:'16GB', ssd:'512GB'}, tags:['gaming','ultrabook']}). Nested specs and arrays fit naturally; adding a 'color' field to one document needs no migration. Query: db.products.find({price:{$lt:60000}}).