Skip to content

Commit

Permalink
Merge branch 'master' into 6.9
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Jan 25, 2023
2 parents 32a0d08 + 3fc7054 commit 392ae0a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
6.8.5 / 2023-01-23
==================
* fix(query): correctly pass context when casting $elemMatch #12915 #12909 #12902 [MohOraby](https://github.com/MohOraby)

6.8.4 / 2023-01-17
==================
* fix(collection): handle creating model when connection disconnected with bufferCommands = false #12889
Expand Down
2 changes: 1 addition & 1 deletion docs/populate.md
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ Alternatively, you can check out the [mongoose-autopopulate plugin](http://npmjs
<h3 id="transform-populated-documents"><a href="#transform-populated-documents">Transform populated documents</a></h3>

You can manipulate populated documents using the `transform` option.
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.
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.
This gives you more control over the result of the `populate()` execution.
It is especially useful when you're populating multiple documents.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mongoose",
"description": "Mongoose MongoDB ODM",
"version": "6.8.4",
"version": "6.8.5",
"author": "Guillermo Rauch <guillermo@learnboost.com>",
"keywords": [
"mongodb",
Expand Down

0 comments on commit 392ae0a

Please sign in to comment.