File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,13 @@ content: |-
168
168
.. code-block:: javascript
169
169
170
170
db.myColl.find( { score: 5, category: "cafe" } )
171
+
172
+ .. important::
171
173
174
+ Matches against document keys, including embedded document keys,
175
+ use simple binary comparison. This means that a query for a key
176
+ like "foo.bár" will not match the key "foo.bar", regardless of the value you
177
+ set for the :ref:`strength <collation-parameter-strength>` parameter.
172
178
173
179
---
174
180
ref : collation-index
Original file line number Diff line number Diff line change @@ -57,13 +57,15 @@ parameters and the locales they are associated with, see
57
57
To specify simple binary comparison, specify ``locale`` value of
58
58
``"simple"``.
59
59
60
-
60
+
61
61
62
62
* - ``strength``
63
63
64
64
- integer
65
65
66
- - Optional. The level of comparison to perform.
66
+ - .. _collation-parameter-strength:
67
+
68
+ Optional. The level of comparison to perform.
67
69
Corresponds to `ICU Comparison Levels
68
70
<http://userguide.icu-project.org/collation/concepts#TOC-Comparison-Levels>`_.
69
71
Possible values are:
You can’t perform that action at this time.
0 commit comments