Skip to content

Commit 4071fd7

Browse files
committed
style(model): fix typo in "$__updateConnection" docs
re 9fb1d81
1 parent b729474 commit 4071fd7

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)