Skip to content

Update write-operations.txt #1503

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/core/write-operations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Update
Update operations modify existing :term:`documents <document>` in a
:term:`collection`. In MongoDB, :method:`db.collection.update()` and
the :method:`db.collection.save()` methods perform update operations.
The :method:`db.collection.update()` method can accept a query criteria
The :method:`db.collection.update()` method can accept query criteria
to determine which documents to update as well as an option to update
multiple rows. The method can also accept options that affect its
behavior such as the ``multi`` option to update multiple documents.
Expand Down Expand Up @@ -160,7 +160,7 @@ Delete

Delete operations remove documents from a collection. In MongoDB,
:method:`db.collection.remove()` method performs delete operations. The
:method:`db.collection.remove()` method can accept a query criteria to
:method:`db.collection.remove()` method can accept query criteria to
determine which documents to remove.

The following diagram highlights the components of a MongoDB remove
Expand Down