Navigation
Reference
>
mongo
Shell Methods
>
Database Methods
>
db.getName()
db.getName()
¶
db.
getName
(
)
¶
Returns:
the current database name.
←
db.getMongo()
db.getPrevError()
→