Skip to content

Commit 0fe117f

Browse files
mvhirschkay-kim
authored andcommitted
fixes typo; referencing MacDyver in findOneAndUpdate method
1 parent f117c87 commit 0fe117f

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

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

0 commit comments

Comments
 (0)