Question: Follow these steps: Create a word document called taskCRUD ( you can use either Microsoft Word or Google Docs ) . Add screenshots of your

Follow these steps:
Create a word document called taskCRUD (you can use either Microsoft
Word or Google Docs). Add screenshots of your command line interface
(CLI) to provide evidence that you have successfully carried out every
instruction specified in this task.
After adding all the required information and screenshots, save your Word
or Google document as a PDF file in your Dropbox.
In the database you created in your previous task, do the following using the
Mongo shell:
Add a collection called cars and add at least five documents to your
collection. Assume that you will have some of the following
information for each car you add to your collection: The model, make,
colour, registr ation number, owner, and address.
Include another document that contains the following information:
Model: 2005
Make: Ford Fiesta
Owner: Sue Bailey
Registr ation: ABC 123 GP
Address: 13 Main Road, Johannesburg, South Africa.
Once you have added all the cars to your database, display all the
documents you have added.
Assume that Sue Bailey moves. Update her address to 21 Maureen Street,
Bluewater Bay, Port Elizabeth, South Africa.
Now assume that Sue marries and her surname changes to Smith. Update
your database accordingly.
Display all cars older than five years.
Create another document where there is another Ford Fiesta owned by
someone called Sue Smith.
Our original Sue Smith (Sue Bailey) has her car scr apped. Remove the
document that described her car from your database. Be sure to remove
only her document!
Imagine that you would like to store all the previous owners for a specific
car. Add a document to a database that does this. The selected car should
have the names of at least three previous owners

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!