Question

In the following sample document data (presented in MongoDB syntax), how many documents are there?
{
_id: "Advisor1",
name: "Shire, Robert",
dept: "History",
yearHired: 1975
}
{
_id: 555667777,
name: "Tierney, Doris",
majors: ["Music", "Spanish"],
addresses: [
{
street: "14510 NE 4th Street",
city: "Bellevue",
state: "WA",
zip: "98005"
},
{
street: "335 Aloha Street",
city: "Seattle",
state: "WA",
zip: "98109"
}
],
advisorID: "Advisor1"
}
A) 2
B) 4
C) 6
D) 8

Answer

This answer is hidden. It contains 1 characters.