0

При подключении к базе на mongoDB выдаете следующую ошибку

no such cmd: listCollections in

не подскажите почему она впадает

1 ответ 1

0

Попробуйте вызвать метод listCollections на базе данных Привожу пример

JS (shell):

db.getCollectionNames()

node.js:

db.listCollections()

non-JS (shell only):

show collections

Ваш ответ

By clicking “Отправить ответ”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками или задайте свой вопрос.