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 @@ -169,7 +169,13 @@ content: |-
169169 .. code-block:: javascript
170170
171171 db.myColl.find( { score: 5, category: "cafe" } )
172+
173+ .. important::
172174
175+ Matches against document keys, including embedded document keys,
176+ use simple binary comparison. This means that a query for a key
177+ like "foo.bár" will not match the key "foo.bar", regardless of the value you
178+ set for the :ref:`strength <collation-parameter-strength>` parameter.
173179
174180 ---
175181ref : collation-index
Original file line number Diff line number Diff line change @@ -56,13 +56,15 @@ parameters and the locales they are associated with, see
5656 To specify simple binary comparison, specify ``locale`` value of
5757 ``"simple"``.
5858
59-
59+
6060
6161 * - ``strength``
6262
6363 - integer
6464
65- - Optional. The level of comparison to perform.
65+ - .. _collation-parameter-strength:
66+
67+ Optional. The level of comparison to perform.
6668 Corresponds to `ICU Comparison Levels
6769 <http://userguide.icu-project.org/collation/concepts#TOC-Comparison-Levels>`_.
6870 Possible values are:
You can’t perform that action at this time.
0 commit comments