Is "mongodb": "4.7.0"npm is compatible for cosmosdb in nodev20 environment

GaneshVishnuKalisetti-1624 0 Reputation points
2024-08-01T07:37:27.37+00:00

Is "mongodb": "4.7.0"npm is compatible for cosmosdb in nodev20 environment to run or have to update the mongodb driver to 6.x or higher?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,606 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Chris Anderson 75 Reputation points Microsoft Employee
    2024-08-14T18:33:47.28+00:00

    There is no known issues with that configuration specific to Cosmos DB.

    I would recommend using the latest 4x tagged npm package. At this time, that is 4.17.2. You can see the 4x tag on npm here: https://www.npmjs.com/package/mongodb?activeTab=versions


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.