You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 22, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: docs/options.md
+9-5
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,7 @@ Operator | Description
54
54
[$gte](https://docs.mongodb.com/manual/reference/operator/query/gt/#op._S_gt) | Includes entities where the value of a given property is greater than or equal to the specified value.
55
55
[$in](https://docs.mongodb.com/manual/reference/operator/query/in/#op._S_in) | Includes entities where the value of a given property is equal to one of the specified values.
56
56
[$nin](https://docs.mongodb.com/manual/reference/operator/query/ni/#op._S_ni) | Includes entities where the value of a given property is not equal to any of the specified values.
57
+
$search | Includes entities where the value of a given property contains the specified value as a substring.
57
58
58
59
The filter below is comprehensive example using all of the operators.
59
60
@@ -72,6 +73,9 @@ The filter below is comprehensive example using all of the operators.
72
73
"$and": [
73
74
{
74
75
"stringProp1": "string value 1",
76
+
"stringProp2": {
77
+
"$search": "string value 2"
78
+
},
75
79
"numberProp2": {
76
80
"$gte": 0,
77
81
"$lte": 1
@@ -80,11 +84,11 @@ The filter below is comprehensive example using all of the operators.
80
84
"numberProp4": { "$eq": 0 }
81
85
},
82
86
{
83
-
"stringProp2": {
84
-
"$in": ["string value 2", "string value 3"]
85
-
},
86
87
"stringProp3": {
87
-
"$nin": ["string value 4", "string value 5"]
88
+
"$in": ["string value 3", "string value 4"]
89
+
},
90
+
"stringProp4": {
91
+
"$nin": ["string value 5", "string value 6"]
88
92
}
89
93
}
90
94
]
@@ -93,7 +97,7 @@ The filter below is comprehensive example using all of the operators.
0 commit comments