We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b3e64a commit 68385fcCopy full SHA for 68385fc
source/core/views/specify-collation.txt
@@ -19,8 +19,8 @@ Create a ``places`` collection with the following documents:
19
.. code-block:: javascript
20
21
db.places.insertMany([
22
- { _id: 1, category: "café" }
23
- { _id: 2, category: "cafe" }
+ { _id: 1, category: "café" },
+ { _id: 2, category: "cafe" },
24
{ _id: 3, category: "cafE" }
25
])
26
@@ -40,7 +40,7 @@ The following operation uses the view's collation:
40
41
42
43
- db.placesView.count( { category: "cafe" } )
+ db.placesView.countDocuments( { category: "cafe" } )
44
45
The operation returns ``3``.
46
0 commit comments