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

1 Expert Approved Answer
Step: 1 Unlock

dbpatroninsert fna... View full answer

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 Database Concepts Questions!