MongoDB: db.getProfilingStatus() method
db.getProfilingStatus
The db.getProfilingStatus() method is used to return a document that reflects the current profiling level and the profiling threshold.
Syntax:
db.getProfilingStatus()
Example: MongoDB: db.getProfilingStatus() method
db.getProfilingStatus();
Output:
> db.getProfilingStatus(); { "was" : 0, "slowms" : 100 }
Retrieve the restaurants data from here
Previous:
db.getPrevError() method
Next:
db.getSiblingDB() method
- Weekly Trends
- Java Basic Programming Exercises
- SQL Subqueries
- Adventureworks Database Exercises
- C# Sharp Basic Exercises
- SQL COUNT() with distinct
- JavaScript String Exercises
- JavaScript HTML Form Validation
- Java Collection Exercises
- SQL COUNT() function
- SQL Inner Join
- JavaScript functions Exercises
- Python Tutorial
- Python Array Exercises
- SQL Cross Join
- C# Sharp Array Exercises