nestjs / azure-database

Azure CosmosDB Database module for Nest framework (node.js) ☁️
https://nestjs.com
MIT License
106 stars 52 forks source link

Azure cosmos doesn't have Keys under settings anymore #254

Open RezaRahmati opened 4 years ago

RezaRahmati commented 4 years ago

I'm submitting a...


[ ] Regression 
[ ] Bug report
[ ] Feature request
[x] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

In the documentation it said to get key from keys section under settings, seems it doesn't exists anymore, there is a connection string section, not sure what should be put in the .env file

image

image

Expected behavior

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment


Nest version: 7


For Tooling issues:
- Node version: 12
- Platform:  Max

Others:

RezaRahmati commented 4 years ago

seems cosmos db needed to be created to use SQL api, I dropped db and recreated with SQL api and now I am able to see the Keys section, I think it's worth to update documentation

f5hajnal commented 3 years ago

hey @RezaRahmati I am facing a similar issue. Were you originally using the MongoDB API? I do not have that "keys" section and I have tried with different values from the "connection string" section but no success. I would like to use the Mongo engine since I am using typegoose, as I've been doing so far for other projects