Skip to content

Commit 26eeefe

Browse files
committed
MM PR fixes 1
1 parent f83b95a commit 26eeefe

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

source/includes/write/delete.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fun main() {
2020

2121
// start-delete-many
2222
val filter = and(
23-
eq(Restaurant::name.name, "Happy Garden"),
23+
eq(Restaurant::borough.name, "Brooklyn"),
2424
eq(Restaurant::name.name, "Starbucks")
2525
)
2626
val result = collection.deleteMany(filter)

source/write/delete.txt

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,9 @@ Sample Data
4141
~~~~~~~~~~~
4242

4343
The examples in this guide use the ``sample_restaurants.restaurants`` collection
44-
from the :atlas:`Atlas sample datasets </sample-data>`.
45-
46-
.. TODO To learn how to create a
47-
.. free MongoDB Atlas cluster and load the sample datasets, see the
48-
.. :ref:`<kotlin-sync-get-started>` tutorial.
44+
from the :atlas:`Atlas sample datasets </sample-data>`. To learn how to create a
45+
free MongoDB Atlas cluster and load the sample datasets, see the
46+
:atlas:`Get Started with Atlas </getting-started>` guide.
4947

5048
The documents in this collection are modeled by the following {+language+} data class:
5149

@@ -66,9 +64,7 @@ You can perform delete operations in MongoDB by using the following methods:
6664

6765
Each delete method requires a **query filter** document, which specifies the
6866
search criteria that determine which documents to select for removal.
69-
For more information about query filters, see the
70-
:manual:`Query Filter Documents section </core/document/#query-filter-documents>` in
71-
the {+mdb-server+} manual.
67+
To learn more about query filters, see the :ref:`kotlin-sync-specify-query` guide.
7268

7369
Delete One Document
7470
~~~~~~~~~~~~~~~~~~~
@@ -102,7 +98,7 @@ Customize the Delete Operation
10298

10399
The ``deleteOne()`` and ``deleteMany()`` methods optionally accept a
104100
``DeleteOptions`` parameter, which represents options you can use to
105-
configure the delete operation. If you don't specify any additional
101+
configure the delete operation. If you don't specify any
106102
options, the driver performs the delete operation with default settings.
107103

108104
The following table describes the setter methods that you can use to

0 commit comments

Comments
 (0)