From 4071fd7c2e2c9183760d505c2e525a18d11a2c80 Mon Sep 17 00:00:00 2001 From: hasezoey Date: Mon, 8 Apr 2024 14:49:02 +0200 Subject: [PATCH] style(model): fix typo in "$__updateConnection" docs re 9fb1d81fc1e81a8523aead9c9fea800bec5fd3af --- lib/model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/model.js b/lib/model.js index 45689123ea8..1e2729320d7 100644 --- a/lib/model.js +++ b/lib/model.js @@ -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()`. *