Skip to content

Commit 9221cc2

Browse files
authored
Merge pull request #14509 from hasezoey/fixTypo
style(model): fix typo in "$__updateConnection" docs
2 parents b729474 + 4071fd7 commit 9221cc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/model.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4898,7 +4898,7 @@ Model.compile = function compile(name, schema, collectionName, connection, base)
48984898

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

0 commit comments

Comments
 (0)