MCQs > IT & Programming > MongoDB > If the address data is frequently retrieved with the name information,how will you modify the following schema representing one to one relationship with referencing ? { _id: 'joe', name: 'Joe Bookreader' } { patron_id: 'joe', street: '123 Fake Street', city: 'Faketon', state: 'MA', zip: '12345' }

MongoDB MCQs

If the address data is frequently retrieved with the name information,how will you modify the following schema representing one to one relationship with referencing ? { _id: "joe", name: "Joe Bookreader" } { patron_id: "joe", street: "123 Fake Street", city: "Faketon", state: "MA", zip: "12345" }

Answer

Correct Answer: { _id: "joe", name: "Joe Bookreader", address: { street: "123 Fake Street", city: "Faketon", state: "MA", zip: "12345" } }

Explanation:

Note: This Question is unanswered, help us to find answer for this one

MongoDB Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

MongoDB Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it