MongoDB.local SF, Jan 15: See the speaker lineup & ship your AI vision faster. Use WEB50 to save 50%
Find out more >
Docs Menu
Docs Home
/ /
Database Methods

db.getName()

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

Back

db.getMongo()