@@ -32,7 +32,7 @@ following French words: **cote**, **coté**, **côte**, and **côté**.
32
32
33
33
MongoDB sorts them in the following order using the default binary collation:
34
34
35
- ::
35
+ .. code-block:: none
36
36
37
37
cote
38
38
coté
@@ -41,7 +41,7 @@ MongoDB sorts them in the following order using the default binary collation:
41
41
42
42
MongoDB sorts them in the following order using the Canadian French collation:
43
43
44
- ::
44
+ .. code-block:: none
45
45
46
46
cote
47
47
côte
@@ -196,7 +196,7 @@ The following example calls the ``findOneAndUpdate()`` operation on a
196
196
collection that uses the default binary collation. The collection contains the
197
197
following documents:
198
198
199
- ::
199
+ .. code-block:: none
200
200
201
201
{ "_id" : 1, "first_name" : "Hans" }
202
202
{ "_id" : 2, "first_name" : "Gunter" }
@@ -234,7 +234,7 @@ Since "Günter" lexically comes before "Gunter" using the
234
234
``de@collation=phonebook`` collation specified in ``findOneAndUpdate()``,
235
235
the operation returns the following updated document:
236
236
237
- ::
237
+ .. code-block:: none
238
238
239
239
{ lastErrorObject: { updatedExisting: true, n: 1 },
240
240
value: { _id: 3, first_name: 'Günter' },
@@ -247,7 +247,7 @@ The following example calls the ``findOneAndDelete()`` operation on a
247
247
collection that uses the default binary collation and contains the following
248
248
documents:
249
249
250
- ::
250
+ .. code-block:: none
251
251
252
252
{ "_id" : 1, "a" : "16" }
253
253
{ "_id" : 2, "a" : "84" }
@@ -266,7 +266,7 @@ lexical order.
266
266
After you run the operation above, the collection contains the following
267
267
documents:
268
268
269
- ::
269
+ .. code-block:: none
270
270
271
271
{ "_id" : 1, "a" : "16" }
272
272
{ "_id" : 2, "a" : "84" }
@@ -287,7 +287,7 @@ match the criteria (greater than the lexical value of "``100``"), the operation
287
287
removes the first result. After you run the operation above, the collection
288
288
contains the following documents:
289
289
290
- ::
290
+ .. code-block:: none
291
291
292
292
{ "_id" : 2, "a" : "84" }
293
293
{ "_id" : 3, "a" : "179" }
0 commit comments