Navigation
This version has reached end of life on October 2016. Learn more about upgrading your version of MongoDB.

db.getName()

db.getName()
Returns:the current database name.