Skip to content

Commit

Permalink
Merge pull request #10501 from gfrancz/patch-1
Browse files Browse the repository at this point in the history
Update depopulate documentation for document.js
  • Loading branch information
vkarpov15 committed Jul 29, 2021
2 parents 28b1aa3 + b82aa37 commit f1e0de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -4146,7 +4146,7 @@ Document.prototype.populated = function(path, val, options) {
* console.log(doc.author); // '5144cf8050f071d979c118a7'
* })
*
* If the path was not populated, this is a no-op.
* If the path was not provided, then all populated fields are returned to their unpopulated state.
*
* @param {String} path
* @return {Document} this
Expand Down

0 comments on commit f1e0de1

Please sign in to comment.