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
- New Content published on w3resource:
- HTML-CSS Practical: Exercises, Practice, Solution
- Java Regular Expression: Exercises, Practice, Solution
- Scala Programming Exercises, Practice, Solution
- Python Itertools exercises
- Python Numpy exercises
- Python GeoPy Package exercises
- Python Pandas exercises
- Python nltk exercises
- Python BeautifulSoup exercises
- Form Template
- Composer - PHP Package Manager
- PHPUnit - PHP Testing
- Laravel - PHP Framework
- Angular - JavaScript Framework
- Vue - JavaScript Framework
- Jest - JavaScript Testing Framework