Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

ADD NEW FEEDBACK

MongoDB Shell

Showing 4

support try..catch

It does not appear that mongosh supports try..catch. I put catch block around "insertOne" ``` try { db.inboxItemCounts.insertOne({ "_id": { "userId": userDoc.userId }, "fromUserSummary": [{ "userName": fromUserDoc.userName, "count": 1 }],...
Guest about 3 years ago in MongoDB Shell 2 Will Not Implement

db connection issue

i am trying to connect mongo cloud training database using shell propt, i am getting error as below. have added my laptop ip, and its approved in the cloud instnace but still getting errorl C:\Users\pvenket1>mongo "mongodb+srv://sandbox.9k9vj...
Guest almost 5 years ago in MongoDB Shell 0 Will Not Implement

Course M001: please bring back Chapter 0

Please put Chapter 0 (installation of MongoDB Shell and Compass) back into course M001. Subsequent chapters refer to the MongoDB Shell and show it being used, but students have not been stepped through the installation process. This chapter was re...
Guest about 5 years ago in MongoDB Shell 0 Will Not Implement

when you hit up, even if last command was an error, edit it

The most common use case to hit up on the keyboard is that I had a typo in the last command in the shell. When I hit up now, it goes to the most recent valid command not the most recent command. What it should do is retype the invalid command I ...
Guest about 5 years ago in MongoDB Shell 2 Will Not Implement