V
V
valera734685342020-04-21 16:29:12
MongoDB
valera73468534, 2020-04-21 16:29:12

How to change dataBase in mongoose from test to users?

I do everything according to a reptile, https://mongoosejs.com/docs/index.html
but the problem is that everything is saved in test and I need to use user dataBase, I use the cloud version of mongi

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
valera73468534, 2020-04-21
@valera73468534

all I figured out thanks mongodb://localhost:27017/usersdb is the name of userdb is the name of dataBase

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question