Skip to content

Commit ab5cdf9

Browse files
author
Chris Cho
authored
DOCSP-10136: replace with code-block (#91)
1 parent 52c1c94 commit ab5cdf9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/fundamentals/collations.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ following French words: **cote**, **coté**, **côte**, and **côté**.
3232

3333
MongoDB sorts them in the following order using the default binary collation:
3434

35-
::
35+
.. code-block:: none
3636

3737
cote
3838
coté
@@ -41,7 +41,7 @@ MongoDB sorts them in the following order using the default binary collation:
4141

4242
MongoDB sorts them in the following order using the Canadian French collation:
4343

44-
::
44+
.. code-block:: none
4545

4646
cote
4747
côte
@@ -196,7 +196,7 @@ The following example calls the ``findOneAndUpdate()`` operation on a
196196
collection that uses the default binary collation. The collection contains the
197197
following documents:
198198

199-
::
199+
.. code-block:: none
200200

201201
{ "_id" : 1, "first_name" : "Hans" }
202202
{ "_id" : 2, "first_name" : "Gunter" }
@@ -234,7 +234,7 @@ Since "Günter" lexically comes before "Gunter" using the
234234
``de@collation=phonebook`` collation specified in ``findOneAndUpdate()``,
235235
the operation returns the following updated document:
236236

237-
::
237+
.. code-block:: none
238238

239239
{ lastErrorObject: { updatedExisting: true, n: 1 },
240240
value: { _id: 3, first_name: 'Günter' },
@@ -247,7 +247,7 @@ The following example calls the ``findOneAndDelete()`` operation on a
247247
collection that uses the default binary collation and contains the following
248248
documents:
249249

250-
::
250+
.. code-block:: none
251251

252252
{ "_id" : 1, "a" : "16" }
253253
{ "_id" : 2, "a" : "84" }
@@ -266,7 +266,7 @@ lexical order.
266266
After you run the operation above, the collection contains the following
267267
documents:
268268

269-
::
269+
.. code-block:: none
270270

271271
{ "_id" : 1, "a" : "16" }
272272
{ "_id" : 2, "a" : "84" }
@@ -287,7 +287,7 @@ match the criteria (greater than the lexical value of "``100``"), the operation
287287
removes the first result. After you run the operation above, the collection
288288
contains the following documents:
289289

290-
::
290+
.. code-block:: none
291291

292292
{ "_id" : 2, "a" : "84" }
293293
{ "_id" : 3, "a" : "179" }

0 commit comments

Comments
 (0)