Skip to content

Commit

Permalink
Merge pull request #14509 from hasezoey/fixTypo
Browse files Browse the repository at this point in the history
style(model): fix typo in "$__updateConnection" docs
  • Loading branch information
vkarpov15 committed Apr 8, 2024
2 parents b729474 + 4071fd7 commit 9221cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -4898,7 +4898,7 @@ Model.compile = function compile(name, schema, collectionName, connection, base)

/**
* Update this model to use the new connection, including updating all internal
* references and creating a new `COllection` instance using the new connection.
* references and creating a new `Collection` instance using the new connection.
* Not for external use, only used by `setDriver()` to ensure that you can still
* call `setDriver()` after creating a model using `mongoose.model()`.
*
Expand Down

0 comments on commit 9221cc2

Please sign in to comment.