Question: using MongoDb Homework Spring Cleaning - Create a new database: shirts_db - Create a new collection: shirts - Insert the following info to the collection
using MongoDb

Homework Spring Cleaning - Create a new database: shirts_db - Create a new collection: shirts - Insert the following info to the collection at once 1) Read all the data at once with a single line 2) Add A New Shirt Purple polo shirt, size M last worn 50 days ago 3) SELECT all shirts But Only Print Out Article and Color 4) SELECT all medium shirts Print Out Everything except shirt_id 5) Update all polo shirts Change their size to L 6) Update the shirt last worn 15 days ago Change last_worn to 0 7) Update all white shirts Change size to 'XS' 8) Delete all old shirts Last worn 200 days ago 9) Delete all tank tops 10) Delete all shirts 11) Drop the entire shirts collection
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
