Skip to content

Commit 799dac7

Browse files
mvhirschkay-kim
authored andcommitted
fixes typo; referencing MacDyver in findOneAndUpdate method
1 parent 82a999f commit 799dac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/reference/method/db.collection.findOneAndUpdate.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ The ``grades`` collection contains documents similar to the following:
147147
{ _id: 6322, name : "A. MacDyver", "assignment" : 2, "points" : 14 },
148148
{ _id: 6234, name : "R. Stiles", "assignment" : 1, "points" : 10 }
149149

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

0 commit comments

Comments
 (0)