Referenced relations

Report a typo

Match expressions with correct number of referenced relations inside for documents below:

client

{ _id: <ObjectId1>
  client_name: "Garry",
  client_surname:"Fisher",
  client_status: "VIP"
}
payment document

payment:  {
             _id:<ObjectId2>
             creditcard:7654765467893456,
             bank:"Bank of America",
             taxid:76543,
            }
adress

{ _id: <ObjectId3>
  city: "NY",
  street_name:"East Shady Lane",
  street_number: "44"
}
Match the items from left and right columns
Customer_info { _id: <ObjectId1> client_name: "Garry",
client_surname:"Fisher",
client_status: "VIP",
adress: {city: "NY",
street_name: "East Shady Lane",
street_number: 44}
}
Customer_info { _id: <ObjectId1> client_name: "Garry",
client_surname:"Fisher",
client_status: "VIP",
adress: "44 East Shady Lane",
payment_details: <ObjectId2> }
Customer_info { _id: <ObjectId1> client_name: "Garry",
client_surname:"Fisher",
client_status: "VIP",
adress: <ObjectId3>,
payment_details: <ObjectId2> }
Two referenced relations
No referenced relations
One referenced relation
___

Create a free account to access the full topic