-
Notifications
You must be signed in to change notification settings - Fork 1
/
output.txt
45 lines (45 loc) · 1.1 KB
/
output.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
rs0:PRIMARY> db.testCollection.find().pretty()
{
"_id" : 1,
"title" : "MongoDB",
"description" : "test document",
"author" : "dc"
}
{
"_id" : 2,
"title" : "MongoDB",
"description" : "test document 1",
"author" : "dc"
}
{
"_id" : 3,
"title" : "MongoDB",
"description" : "test document 2",
"author" : "dc",
"order" : {
"orderId" : 1,
"quantity" : 2,
"price" : 100,
"description" : "Product 1"
}
}
{
"_id" : 4,
"title" : "MongoDB",
"description" : "test document 3",
"author" : "dc",
"orderList" : [
{
"id" : 1,
"quantity" : 2,
"price" : 100,
"description" : "Product 1"
},
{
"id" : 2,
"quantity" : 2,
"price" : 200,
"description" : "Product 2"
}
]
}