Skip to content
Merged
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
2 changes: 1 addition & 1 deletion source/reference/method/db.collection.findOneAndUpdate.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ The ``grades`` collection contains documents similar to the following:
{ _id: 6322, name : "A. MacDyver", "assignment" : 2, "points" : 14 },
{ _id: 6234, name : "R. Stiles", "assignment" : 1, "points" : 10 }

The following operation updates a document where ``name : "A. MacGyver"``. The
The following operation updates a document where ``name : "A. MacDyver"``. The
operation sorts the matching documents by ``points`` ascending to update the
matching document with the least points.

Expand Down