Skip to content

Commit 687c9aa

Browse files
committed
Update Mongoose compatibility statement
1 parent fbf80ae commit 687c9aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/cosmos-db/mongodb/connect-using-mongoose.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ After you create the database, you'll use the name in the `COSMOSDB_DBNAME` envi
5656

5757
3. Install the necessary packages using one of the ```npm install``` options:
5858

59-
* **Mongoose**: ```npm install mongoose@5.13.15 --save```
59+
* **Mongoose**: ```npm install mongoose --save```
6060

61-
> [!IMPORTANT]
62-
> The Mongoose example connection below is based on Mongoose 5+, which has changed since earlier versions. Azure Cosmos DB for MongoDB is compatible with up to version `5.13.15` of Mongoose. For more information, please see the [issue discussion](https://github.com/Automattic/mongoose/issues/11072) in the Mongoose GitHub repository.
61+
> [!NOTE]
62+
> For more information on which version of mongoose is compatible with your API for MongoDB server version, see [Mongoose compatability](https://mongoosejs.com/docs/compatibility.html).
6363
6464
* **Dotenv** *(if you'd like to load your secrets from an .env file)*: ```npm install dotenv --save```
6565

0 commit comments

Comments
 (0)