Navigation
This version of the manual is no longer supported. Learn more about upgrading your version of MongoDB.

db.getName()

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