mongodb

Command to show the db that I'm currently using in MongoDB?


What is the command to show the current db in the MongoDB shell?

(I failed to find it on Google)


Solution

  • Found it by guessing :) Simply:

    db