Question: Use the fact database and patron collection created in the text for use with MongoDB. Create a new document in the patron collection. The document
Use the fact database and patron collection created in the text for use with MongoDB.
Create a new document in the patron collection. The document should satisfy the following requirements:
First name is “Rachel”
Last name is “Cunningham”
Display name is “Rachel Cunningham”
Patron type is student
Rachel is 24 years old
Rachel has never checked out a book
Be certain to use the same keys as already exist in the collection. Be certain capitalization is consistent with the documents already in the collection. Do not store any keys that do not have a value (in other words, no NULLs).
Step by Step Solution
3.43 Rating (169 Votes )
There are 3 Steps involved in it
dbpatroninsert fna... View full answer
Get step-by-step solutions from verified subject matter experts
