File tree Expand file tree Collapse file tree 3 files changed +91
-43
lines changed Expand file tree Collapse file tree 3 files changed +91
-43
lines changed Original file line number Diff line number Diff line change @@ -91,22 +91,56 @@ tests:
91
91
$type :
92
92
- maxKey
93
93
schema :
94
- addressBook :
94
+ restaurants :
95
95
_id :
96
96
types :
97
97
- bsonType : Number
98
98
address :
99
+ types :
100
+ - bsonType : Document
101
+ fields :
102
+ building :
103
+ types :
104
+ - bsonType : String
105
+ coord :
106
+ types :
107
+ - bsonType : Array
108
+ types :
109
+ - bsonType : Number
110
+ street :
111
+ types :
112
+ - bsonType : String
113
+ zipcode :
114
+ types :
115
+ - bsonType : String
116
+ borough :
99
117
types :
100
118
- bsonType : String
101
- zipCode :
119
+ cuisine :
102
120
types :
103
121
- bsonType : String
104
- - bsonType : Number
105
- - bsonType : Long
106
- - bsonType : Int32
122
+ grades :
123
+ types :
107
124
- bsonType : Array
108
125
types :
109
- - bsonType : String
126
+ - bsonType : Document
127
+ fields :
128
+ date :
129
+ types :
130
+ - bsonType : Date
131
+ grade :
132
+ types :
133
+ - bsonType : String
134
+ - bsonType : MinKey
135
+ score :
136
+ types :
137
+ - bsonType : Number
138
+ name :
139
+ types :
140
+ - bsonType : String
141
+ restaurant_id :
142
+ types :
143
+ - bsonType : String
110
144
- name : Querying by Array Type
111
145
link : https://www.mongodb.com/docs/manual/reference/operator/query/type/#querying-by-array-type
112
146
pipeline :
Original file line number Diff line number Diff line change @@ -166,19 +166,18 @@ tests:
166
166
newRoot : $date
167
167
as : holidays
168
168
schema :
169
- orders :
169
+ absences :
170
170
_id :
171
171
types :
172
172
- bsonType : Number
173
- item :
173
+ student :
174
174
types :
175
175
- bsonType : String
176
- price :
176
+ sickdays :
177
177
types :
178
- - bsonType : Number
179
- quantity :
180
- types :
181
- - bsonType : Number
178
+ - bsonType : Array
179
+ types :
180
+ - bsonType : Date
182
181
- name : Perform a Concise Correlated Subquery with $lookup
183
182
link : https://www.mongodb.com/docs/manual/reference/operator/aggregation/lookup/#perform-a-concise-correlated-subquery-with--lookup
184
183
pipeline :
Original file line number Diff line number Diff line change @@ -85,45 +85,60 @@ tests:
85
85
then : $$PRUNE
86
86
else : $$DESCEND
87
87
schema :
88
- forecasts :
88
+ accounts :
89
89
_id :
90
90
types :
91
91
- bsonType : Number
92
- title :
93
- types :
94
- - bsonType : String
95
- tags :
96
- types :
97
- - bsonType : Array
98
- types :
99
- - bsonType : String
100
- year :
92
+ level :
101
93
types :
102
94
- bsonType : Number
103
- subsections :
95
+ acct_id :
104
96
types :
105
- - bsonType : Array
106
- types :
107
- - bsonType : Document
108
- fields :
109
- subtitle :
110
- types :
111
- - bsonType : String
112
- tags :
113
- types :
114
- - bsonType : Array
115
- types :
116
- - bsonType : String
117
- content :
97
+ - bsonType : String
98
+ cc :
99
+ types :
100
+ - bsonType : Document
101
+ fields :
102
+ level :
103
+ types :
104
+ - bsonType : Number
105
+ type :
106
+ types :
107
+ - bsonType : String
108
+ num :
109
+ types :
110
+ - bsonType : Number
111
+ exp_date :
112
+ types :
113
+ - bsonType : Date
114
+ billing_addr :
115
+ types :
116
+ - bsonType : Document
117
+ fields :
118
+ level :
119
+ types :
120
+ - bsonType : Number
121
+ addr1 :
122
+ types :
123
+ - bsonType : String
124
+ city :
125
+ types :
126
+ - bsonType : String
127
+ shipping_addr :
128
+ types :
129
+ - bsonType : Array
118
130
types :
119
- - bsonType : String
120
131
- bsonType : Document
121
132
fields :
122
- text :
133
+ level :
134
+ types :
135
+ - bsonType : Number
136
+ addr1 :
123
137
types :
124
138
- bsonType : String
125
- tags :
139
+ city :
126
140
types :
127
- - bsonType : Array
128
- types :
129
- - bsonType : String
141
+ - bsonType : String
142
+ status :
143
+ types :
144
+ - bsonType : String
You can’t perform that action at this time.
0 commit comments