Run setup_mongo.sh which will add restaurant lists in MongoDB after then run the mongo command on the terminal and open the mongo shell where we have to write command,
show dbs -> use restaurant-database -> db.<collection_name>.find() i.e the collection_name is restaurants.
Eg: db.restaurants.find()
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article