Question 1mediummulti select
Read the full Data Modeling explanation →C100DEV Data Modeling • Complete Question Bank
Complete C100DEV Data Modeling question bank — all 0 questions with answers and detailed explanations.
{"user_id": 101, "orders": [{"id": 1, "total": 50}, {"id": 2, "total": 100}]}{ "user": "alice", "orders": [ { "id": 1, "total": 50 }, { "id": 2, "total": 100 } ], "order_count": 2 }db.collection.createIndex({ "tags": 1 }){
"product": "laptop",
"specs": [
{ "k": "RAM", "v": "16GB" },
{ "k": "CPU", "v": "i7" }
]
}{
"_id": 1,
"name": "Product X",
"specs": [
{ "k": "color", "v": "blue" },
{ "k": "size", "v": "large" }
]
}{
"_id": "order_101",
"customer_name": "John Doe",
"shipping_address": "123 Main St",
"tax_rate": 0.08,
"total_price": 108.00
}Refer to the exhibit:
{ "_id": 1, "name": "UserA", "orders": [ { "id": 101, "total": 50 }, { "id": 102, "total": 100 } ] }