Skip to content

Commit 652b9ac

Browse files
mvhirschkay-kim
authored andcommitted
fixes typo; referencing MacDyver in findOneAndUpdate method
1 parent 6f934c6 commit 652b9ac

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
@@ -125,7 +125,7 @@ The ``grades`` collection contains documents similar to the following:
125125
{ _id: 6322, name : "A. MacDyver", "assignment" : 2, "points" : 14 },
126126
{ _id: 6234, name : "R. Stiles", "assignment" : 1, "points" : 10 }
127127

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

0 commit comments

Comments
 (0)