File tree Expand file tree Collapse file tree 12 files changed +38
-47
lines changed
Expand file tree Collapse file tree 12 files changed +38
-47
lines changed Original file line number Diff line number Diff line change 2929 - bsonType : Double
3030 qty :
3131 types :
32- - bsonType : Int32
32+ - bsonType : Double
3333 - bsonType : Undefined
3434 sale :
3535 types :
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ description: |
99arguments :
1010 - name : value
1111 type :
12- - any
12+ - expression
1313tests :
1414 - name : Equals a Specified Value
1515 link : https://www.mongodb.com/docs/manual/reference/operator/query/eq/#equals-a-specified-value
@@ -123,28 +123,10 @@ tests:
123123 company :
124124 $eq : !bson_regex ^MongoDB
125125 schema :
126- inventory :
126+ companies :
127127 _id :
128128 types :
129- - bsonType : Number
130- item :
131- types :
132- - bsonType : Document
133- fields :
134- name :
135- types :
136- - bsonType : String
137- code :
138- types :
139- - bsonType : String
140- qty :
141- types :
142- - bsonType : Number
143- tags :
129+ - bsonType : Int32
130+ company :
144131 types :
145- - bsonType : Array
146- types :
147- - bsonType : String
148- - bsonType : Array
149- types :
150- - bsonType : String
132+ - bsonType : String
Original file line number Diff line number Diff line change 2222 - 5
2323 - 15
2424 schema :
25- inventory :
25+ inventory : &ref_0
2626 price :
2727 types :
2828 - bsonType : Double
@@ -40,16 +40,4 @@ tests:
4040 qty :
4141 $exists : true
4242 schema :
43- spices :
44- saffron :
45- types :
46- - bsonType : Number
47- - bsonType : ' Null'
48- cinnamon :
49- types :
50- - bsonType : Number
51- - bsonType : ' Null'
52- mustard :
53- types :
54- - bsonType : Number
55- - bsonType : ' Null'
43+ inventory : *ref_0
Original file line number Diff line number Diff line change 3131 - 0
3232 schema :
3333 places : &ref_0
34- location :
34+ loc :
3535 types :
3636 - bsonType : Document
3737 fields :
@@ -42,7 +42,11 @@ tests:
4242 types :
4343 - bsonType : Array
4444 types :
45- - bsonType : Double
45+ - bsonType : Array
46+ types :
47+ - bsonType : Array
48+ types :
49+ - bsonType : Double
4650 - name : Within a Big Polygon
4751 link : https://www.mongodb.com/docs/manual/reference/operator/query/geoWithin/#within-a--big--polygon
4852 pipeline :
Original file line number Diff line number Diff line change 1515 link : https://www.mongodb.com/docs/manual/reference/operator/query/gt/#match-document-fields
1616 pipeline :
1717 - $match :
18- qty :
18+ quantity :
1919 $gt : 20
2020 schema :
2121 inventory :
Original file line number Diff line number Diff line change 1515 link : https://www.mongodb.com/docs/manual/reference/operator/query/gte/#match-document-fields
1616 pipeline :
1717 - $match :
18- qty :
18+ quantity :
1919 $gte : 20
2020 schema :
2121 inventory :
Original file line number Diff line number Diff line change 1515 link : https://www.mongodb.com/docs/manual/reference/operator/query/lt/#match-document-fields
1616 pipeline :
1717 - $match :
18- qty :
18+ quantity :
1919 $lt : 20
2020 schema :
2121 inventory :
Original file line number Diff line number Diff line change 1515 link : https://www.mongodb.com/docs/manual/reference/operator/query/lte/#match-document-fields
1616 pipeline :
1717 - $match :
18- qty :
18+ quantity :
1919 $lte : 20
2020 schema :
2121 inventory :
Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ tests:
2929 types :
3030 - bsonType : Int32
3131 - bsonType : Undefined
32+ quantity :
33+ types :
34+ - bsonType : Int32
35+ - bsonType : Undefined
3236 sale :
3337 types :
3438 - bsonType : Boolean
Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ tests:
3030 types :
3131 - bsonType : Int32
3232 - bsonType : Undefined
33+ quantity :
34+ types :
35+ - bsonType : Int32
36+ - bsonType : Undefined
3337 sale :
3438 types :
3539 - bsonType : Boolean
You can’t perform that action at this time.
0 commit comments