Docs Menu

Docs HomeMongoDB Manual

db.getName()

db.getName()
Returns:the current database name.
←  db.getMongo()db.getProfilingStatus() →
Share Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.