File tree Expand file tree Collapse file tree 11 files changed +40
-99
lines changed Expand file tree Collapse file tree 11 files changed +40
-99
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,17 @@ tests:
23
23
- price :
24
24
$exists : true
25
25
schema :
26
- inventory :
26
+ inventory : &ref_0
27
27
price :
28
28
types :
29
29
- bsonType : Double
30
+ qty :
31
+ types :
32
+ - bsonType : Int32
33
+ - bsonType : Undefined
34
+ sale :
35
+ types :
36
+ - bsonType : Boolean
30
37
- name : AND Queries With Multiple Expressions Specifying the Same Operator
31
38
link : https://www.mongodb.com/docs/manual/reference/operator/query/and/#and-queries-with-multiple-expressions-specifying-the-same-operator
32
39
pipeline :
@@ -42,13 +49,4 @@ tests:
42
49
- price :
43
50
$lt : 5
44
51
schema :
45
- inventory :
46
- price :
47
- types :
48
- - bsonType : Double
49
- qty :
50
- types :
51
- - bsonType : Int32
52
- sale :
53
- types :
54
- - bsonType : Boolean
52
+ inventory : *ref_0
Original file line number Diff line number Diff line change @@ -23,10 +23,16 @@ tests:
23
23
- 15
24
24
schema :
25
25
inventory :
26
+ price :
27
+ types :
28
+ - bsonType : Double
26
29
qty :
27
30
types :
28
31
- bsonType : Int32
29
32
- bsonType : Undefined
33
+ sale :
34
+ types :
35
+ - bsonType : Boolean
30
36
- name : Null Values
31
37
link : https://www.mongodb.com/docs/manual/reference/operator/query/exists/#null-values
32
38
pipeline :
Original file line number Diff line number Diff line change @@ -54,16 +54,16 @@ tests:
54
54
- 0.75
55
55
- 5
56
56
schema :
57
- monthlyBudget :
57
+ supplies :
58
58
_id :
59
59
types :
60
60
- bsonType : Number
61
- category :
61
+ item :
62
62
types :
63
63
- bsonType : String
64
- budget :
64
+ qty :
65
65
types :
66
- - bsonType : Number
67
- spent :
66
+ - bsonType : Int32
67
+ price :
68
68
types :
69
- - bsonType : Number
69
+ - bsonType : Decimal128
Original file line number Diff line number Diff line change 30
30
- - 0
31
31
- 0
32
32
schema :
33
- places :
33
+ places : &ref_0
34
34
loc :
35
35
types :
36
36
- bsonType : Document
@@ -73,20 +73,4 @@ tests:
73
73
properties :
74
74
name : urn:x-mongodb:crs:strictwinding:EPSG:4326
75
75
schema :
76
- places :
77
- loc :
78
- types :
79
- - bsonType : Document
80
- fields :
81
- type :
82
- types :
83
- - bsonType : String
84
- coordinates :
85
- types :
86
- - bsonType : Array
87
- types :
88
- - bsonType : Array
89
- types :
90
- - bsonType : Array
91
- types :
92
- - bsonType : Double
76
+ places : *ref_0
Original file line number Diff line number Diff line change 30
30
- - 0
31
31
- 0
32
32
schema :
33
- places :
34
- loc :
33
+ places : &ref_0
34
+ location :
35
35
types :
36
36
- bsonType : Document
37
37
fields :
@@ -42,11 +42,7 @@ tests:
42
42
types :
43
43
- bsonType : Array
44
44
types :
45
- - bsonType : Array
46
- types :
47
- - bsonType : Array
48
- types :
49
- - bsonType : Double
45
+ - bsonType : Double
50
46
- name : Within a Big Polygon
51
47
link : https://www.mongodb.com/docs/manual/reference/operator/query/geoWithin/#within-a--big--polygon
52
48
pipeline :
@@ -73,20 +69,4 @@ tests:
73
69
properties :
74
70
name : urn:x-mongodb:crs:strictwinding:EPSG:4326
75
71
schema :
76
- places :
77
- loc :
78
- types :
79
- - bsonType : Document
80
- fields :
81
- type :
82
- types :
83
- - bsonType : String
84
- coordinates :
85
- types :
86
- - bsonType : Array
87
- types :
88
- - bsonType : Array
89
- types :
90
- - bsonType : Array
91
- types :
92
- - bsonType : Double
72
+ places : *ref_0
Original file line number Diff line number Diff line change @@ -21,13 +21,14 @@ tests:
21
21
- price : 1.99
22
22
- sale : true
23
23
schema :
24
- inventory :
24
+ inventory : &ref_0
25
25
price :
26
26
types :
27
27
- bsonType : Double
28
28
qty :
29
29
types :
30
30
- bsonType : Int32
31
+ - bsonType : Undefined
31
32
sale :
32
33
types :
33
34
- bsonType : Boolean
@@ -41,16 +42,7 @@ tests:
41
42
$lt : 20
42
43
- sale : true
43
44
schema :
44
- inventory :
45
- price :
46
- types :
47
- - bsonType : Double
48
- qty :
49
- types :
50
- - bsonType : Int32
51
- sale :
52
- types :
53
- - bsonType : Boolean
45
+ inventory : *ref_0
54
46
- name : $nor and $exists
55
47
link : https://www.mongodb.com/docs/manual/reference/operator/query/nor/#-nor-and--exists
56
48
pipeline :
@@ -63,13 +55,4 @@ tests:
63
55
- sale :
64
56
$exists : false
65
57
schema :
66
- inventory :
67
- price :
68
- types :
69
- - bsonType : Double
70
- qty :
71
- types :
72
- - bsonType : Int32
73
- sale :
74
- types :
75
- - bsonType : Boolean
58
+ inventory : *ref_0
Original file line number Diff line number Diff line change @@ -19,13 +19,14 @@ tests:
19
19
$not :
20
20
$gt : 1.99
21
21
schema :
22
- inventory :
22
+ inventory : &ref_0
23
23
price :
24
24
types :
25
25
- bsonType : Double
26
26
qty :
27
27
types :
28
28
- bsonType : Int32
29
+ - bsonType : Undefined
29
30
sale :
30
31
types :
31
32
- bsonType : Boolean
@@ -36,13 +37,4 @@ tests:
36
37
price :
37
38
$not : !bson_regex ^p.*
38
39
schema :
39
- inventory :
40
- price :
41
- types :
42
- - bsonType : Double
43
- qty :
44
- types :
45
- - bsonType : Int32
46
- sale :
47
- types :
48
- - bsonType : Boolean
40
+ inventory : *ref_0
Original file line number Diff line number Diff line change 29
29
qty :
30
30
types :
31
31
- bsonType : Int32
32
+ - bsonType : Undefined
32
33
sale :
33
34
types :
34
35
- bsonType : Boolean
Original file line number Diff line number Diff line change 21
21
$sampleRate : 0.33
22
22
- $count : numMatches
23
23
schema :
24
- collection :
24
+ TestCollection :
25
25
_id :
26
26
types :
27
27
- bsonType : ObjectId
Original file line number Diff line number Diff line change 25
25
qty :
26
26
types :
27
27
- bsonType : Int32
28
+ - bsonType : Undefined
28
29
sale :
29
30
types :
30
31
- bsonType : Boolean
You can’t perform that action at this time.
0 commit comments