crud operations posting to "test" database (Cosmosdb/Mongodb - Nextjs with mongoose)

rwkd26 1 Reputation point
2021-02-15T00:34:17.613+00:00

I am using Nextjs with mongoose to perform crud operations in my cosmosdb/mongodb database. But when i post or get data they are posted to a database called "test" and not the database i want to. I cant find a solution for changing the destination to where my data is posted. any help?

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.


1 answer

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.

    2 deleted comments

    Comments have been turned off. Learn more

Your answer

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