Learn the "why" behind slow queries and how to fix them in our 2-Part Webinar.
Register now >
Docs Menu
Docs Home
/ /
Database Methods

db.getProfilingLevel()

db.getProfilingLevel()

This method provides a wrapper around the database command "profile" and returns the current profiling level.

Deprecated since version 1.8.4: Use db.getProfilingStatus() for related functionality.

Back

db.getName()