@@ -32,7 +32,7 @@ snippet:
3232 :end-before: end insertDocs
3333
3434.. include:: /includes/fundamentals/automatic-db-coll-creation.rst
35-
35+
3636Each document contains a rating for a type of tea, which corresponds to
3737the ``type`` and ``rating`` fields.
3838
@@ -55,7 +55,7 @@ Parameters
5555
5656The ``DeleteOne()`` and ``DeleteMany()`` functions expect you to pass a
5757``Context`` type and a ``non-nil`` query filter specifying which
58- documents to match.
58+ documents to match.
5959
6060They both optionally take a ``DeleteOptions`` type as a third parameter,
6161which represents options you can use to configure the delete operation.
@@ -72,12 +72,12 @@ following functions:
7272 * - Function
7373 - Description
7474
75- * - ``SetHint()``
76- - | The index to use to scan for documents to delete.
75+ * - ``SetHint()``
76+ - | The index to use to scan for documents to delete.
7777 | Default: ``nil``
7878
7979 * - ``SetCollation()``
80- - | The type of language collation to use when sorting results.
80+ - | The type of language collation to use when sorting results.
8181 | Default: ``nil``
8282
8383Return Value
@@ -92,7 +92,7 @@ Example
9292```````
9393
9494The following example performs the following with the ``DeleteMany()``
95- function:
95+ function:
9696
9797- Matches and deletes documents where the ``rating`` is greater than ``8``
9898- Specifies the function to use the ``_id`` as the index
@@ -144,5 +144,5 @@ guide, see the following API Documentation:
144144
145145- `DeleteOne() <{+api+}/mongo#Collection.DeleteOne>`__
146146- `DeleteMany() <{+api+}/mongo#Collection.DeleteMany>`__
147- - `DeleteOptions <{+api+}/options#DeleteOptions>`__
147+ - `DeleteOptions <{+api+}/mongo/ options#DeleteOptions>`__
148148- `DeleteResult <{+api+}/mongo#DeleteResult>`__
0 commit comments