getProfilingLevel()
This method provides a wrapper around the database command “profile” and returns the current profiling level.
Syntax:
db.getProfilingLevel()
Example
MongoDB
Output:
0
No comments:
Post a Comment