db.getProfilingLevel() in mongoDB

getProfilingLevel()

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


Syntax:

db.getProfilingLevel()


Example

MongoDB

db.getProfilingLevel()

Output:

0


No comments:

Post a Comment