Skip to content

Commit d030763

Browse files
committed
DOCSP-13597 NextGen fix pillstrip intro
1 parent a7fef1d commit d030763

12 files changed

+120
-12
lines changed

source/core/read-isolation-consistency-recency.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,15 @@ document with the old ``sku`` value needs to be updated with the
270270
``sku`` value. The client can use a causally consistent session to
271271
ensure that the update occurs before the insert.
272272

273+
----------
274+
275+
.. |arrow| unicode:: U+27A4
276+
277+
|arrow| Use the **Select your language** drop-down menu in the
278+
upper-right to set the language of this example.
279+
280+
----------
281+
273282
.. tabs-pillstrip:: languages
274283

275284
.. tabs-drivers::

source/core/transactions-in-applications.txt

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,26 @@ The :ref:`txn-core-api`:
4242
Callback API
4343
-------------
4444

45-
The new callback API incorporates logic:
45+
The callback API incorporates logic:
4646

4747
- To retry the transaction as a whole if the transaction encounters a
4848
:ref:`transient-transaction-error`.
4949

5050
- To retry the commit operation if the commit encounters an
5151
:ref:`unknown-transaction-commit-result`.
5252

53+
Example
54+
~~~~~~~
55+
56+
----------
57+
58+
.. |arrow| unicode:: U+27A4
59+
60+
|arrow| Use the **Select your language** drop-down menu in the
61+
upper-right to set the language of the examples on this page.
62+
63+
----------
64+
5365
.. tabs-pillstrip:: languages
5466

5567
.. tabs-drivers::
@@ -328,6 +340,16 @@ labeled:
328340
To handle :ref:`unknown-transaction-commit-result`,
329341
applications should explicitly incorporate retry logic for the error.
330342

343+
Example
344+
~~~~~~~
345+
346+
----------
347+
348+
|arrow| Use the **Select your language** drop-down menu in the
349+
upper-right to set the language of the examples on this page.
350+
351+
----------
352+
331353
The following example incorporates logic to retry the transaction for
332354
transient errors and retry the commit for unknown commit error:
333355

source/core/transactions.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,16 @@ databases, documents, and shards.
3131
Transactions API
3232
----------------
3333

34-
The following example highlights the key components
35-
of the transactions API:
34+
This example highlights the key components of the transactions API.
3635

36+
----------
37+
38+
.. |arrow| unicode:: U+27A4
39+
40+
|arrow| Use the **Select your language** drop-down menu in the
41+
upper-right to set the language of the following example.
42+
43+
----------
3744

3845
.. tabs-pillstrip:: languages
3946

source/tutorial/insert-documents.txt

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,14 @@ Insert Documents
1313
:description: Insert documents using MongoDB. Creates collection upon first insert.
1414
:keywords: insert documents, create documents, insert into collection, create collection
1515

16-
This page provides examples in:
16+
----------
17+
18+
.. |arrow| unicode:: U+27A4
19+
20+
|arrow| Use the **Select your language** drop-down menu in the
21+
upper-right to set the language of the examples on this page.
22+
23+
----------
1724

1825
.. tabs-pillstrip:: languages
1926

@@ -331,6 +338,13 @@ To retrieve the document that you just inserted, :ref:`query the collection
331338
Insert Multiple Documents
332339
-------------------------
333340

341+
----------
342+
343+
|arrow| Use the **Select your language** drop-down menu in the
344+
upper-right to set the language of the examples on this page.
345+
346+
----------
347+
334348
.. tabs-drivers::
335349

336350
tabs:

source/tutorial/project-fields-from-query-results.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,14 @@ Project Fields to Return from Query
1111

1212
.. default-domain:: mongodb
1313

14-
This page provides examples in:
14+
----------
15+
16+
.. |arrow| unicode:: U+27A4
17+
18+
|arrow| Use the **Select your language** drop-down menu in the
19+
upper-right to set the language of the following examples.
20+
21+
----------
1522

1623
.. tabs-pillstrip:: languages
1724

source/tutorial/query-array-of-documents.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,14 @@ Query an Array of Embedded Documents
1313
:description: MongoDB Manual - how to query an array of documents, how to query an array of nested documents, how to query an array of embedded documents.
1414
:keywords: array of nested documents, array of embedded documents, array of documents, nested documents, array index, select, array, array elements, array items
1515

16-
This page provides examples in:
16+
----------
17+
18+
.. |arrow| unicode:: U+27A4
19+
20+
|arrow| Use the **Select your language** drop-down menu in the
21+
upper-right to set the language of the following examples.
22+
23+
----------
1724

1825
.. tabs-pillstrip:: languages
1926

source/tutorial/query-arrays.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,14 @@ Query an Array
1313
:description: MongoDB Manual - How to query an array: query on the array field as a whole, check if element in array, query for array element, query if field in array, query by array size.
1414
:keywords: array, array elements, array items, queries, select, MongoDB Manual, query an array, query for items in array
1515

16-
This page provides examples in:
16+
----------
17+
18+
.. |arrow| unicode:: U+27A4
19+
20+
|arrow| Use the **Select your language** drop-down menu in the
21+
upper-right to set the language of the following examples.
22+
23+
----------
1724

1825
.. tabs-pillstrip:: languages
1926

source/tutorial/query-documents.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,14 @@ Query Documents
1414
:description: MongoDB Manual. How do I query documents, query top level fields, perform equality match, query with query operators, specify compound query conditions.
1515
:keywords: query, select from collection, select all, select conditions, filters, select where, criteria, greater than, less than, MongoDB Manual
1616

17-
This page provides examples in:
17+
----------
18+
19+
.. |arrow| unicode:: U+27A4
20+
21+
|arrow| Use the **Select your language** drop-down menu in the
22+
upper-right to set the language of the following examples.
23+
24+
----------
1825

1926
.. tabs-pillstrip:: languages
2027

source/tutorial/query-embedded-documents.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,14 @@ Query on Embedded/Nested Documents
1414
:description: MongoDB Manual: How to query on embedded documents/nested documents/subdocuments/nested fields. Query/select by embedded documents/nested fields/subdocuments.
1515
:keywords: filter on embedded documents, nested documents, subdocuments, nested fields, field is embedded document, queries, select, MongoDB, greater than, logical AND, compound conditions, select from collection
1616

17-
This page provides examples in:
17+
----------
18+
19+
.. |arrow| unicode:: U+27A4
20+
21+
|arrow| Use the **Select your language** drop-down menu in the
22+
upper-right to set the language of the following examples.
23+
24+
----------
1825

1926
.. tabs-pillstrip:: languages
2027

source/tutorial/query-for-null-fields.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,14 @@ Query for Null or Missing Fields
99

1010
.. default-domain:: mongodb
1111

12-
This page provides examples in:
12+
----------
13+
14+
.. |arrow| unicode:: U+27A4
15+
16+
|arrow| Use the **Select your language** drop-down menu in the
17+
upper-right to set the language of the following examples.
18+
19+
----------
1320

1421
.. tabs-pillstrip:: languages
1522

0 commit comments

Comments
 (0)