Skip to content

Commit

Permalink
(DOCSP-39838) @norareidy removed monospace from headers for style guide.
Browse files Browse the repository at this point in the history
  • Loading branch information
your proper name committed Oct 23, 2024
1 parent 66226b6 commit 5e17408
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/write/replace.txt
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ argument. The following table describes the fields you can set in a
For more information, see :manual:`Write Concern </reference/write-concern/>`
in the {+mdb-server+} manual.

Example: ``hint``
Example: hint
^^^^^^^^^^^^^^^^^

The following example uses the :ref:`create_index() <cpp-indexes>` method to create an ascending single-field index
Expand All @@ -171,7 +171,7 @@ of the new index, ``name_1``. When ``opts`` is passed in as an optional argument

To learn more about indexes, see :ref:`Optimize Queries with Indexes <cpp-indexes>`.

Example: ``upsert``
Example: upsert
^^^^^^^^^^^^^^^^^^^

The following example instantiates a ``mongocxx::options::replace`` object called ``opts``
Expand Down Expand Up @@ -225,7 +225,7 @@ member functions:
- | Returns the ID of the document that was upserted in the database, if the driver
performed an upsert.

Example: ``matched_count()``
Example: matched_count()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The following example uses the ``replace_one()`` method to replace a document that has
Expand All @@ -247,7 +247,7 @@ function to print the number of documents that match the search for a ``name`` f

Matched documents: 11

Example: ``upserted_id()``
Example: upserted_id()
^^^^^^^^^^^^^^^^^^^^^^^^^^

The following example uses the ``replace_one()`` method to find and replace a document that has a ``name`` field value of ``"In-N-Out Burger"``.
Expand Down

0 comments on commit 5e17408

Please sign in to comment.