Skip to content

Commit 3fc7054

Browse files
Merge pull request #12946 from Gbengstar/patch-2
fixed typo
2 parents c190bd6 + 0a70016 commit 3fc7054

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/populate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ Alternatively, you can check out the [mongoose-autopopulate plugin](http://npmjs
883883
<h3 id="transform-populated-documents"><a href="#transform-populated-documents">Transform populated documents</a></h3>
884884

885885
You can manipulate populated documents using the `transform` option.
886-
If you specify a `transform` function, Mongoose will call this function on every populated document in the result wiwith two arguments: the populated document, and the original id used to populate the document.
886+
If you specify a `transform` function, Mongoose will call this function on every populated document in the result with two arguments: the populated document, and the original id used to populate the document.
887887
This gives you more control over the result of the `populate()` execution.
888888
It is especially useful when you're populating multiple documents.
889889

0 commit comments

Comments
 (0)