PHP » GoLang |
login |
register |
about
|
GoLang MongoDB::getProfilingLevel
request it (332)
GoLang replacement for PHP's MongoDB::getProfilingLevel
[edit | history]
PHP MongoDB::getProfilingLevelPHP original manual for MongoDB::getProfilingLevel [ show | php.net ]MongoDB::getProfilingLevel(PECL mongo >=0.9.0) MongoDB::getProfilingLevel — Gets this database's profiling level Description
public int MongoDB::getProfilingLevel
( void
)
This returns the current database profiling level. The database profiler tracks query execution times. If you turn it on (say, using MongoDB::setProfilingLevel() or the shell), you can see how many queries took longer than a given number of milliseconds or the timing for all queries. Note that profiling slows down queries, so it is better to use in development or testing than in a time-sensitive application. This function is equivalent to running:
<?php ParametersThis function has no parameters. Return ValuesReturns the profiling level. See Also
|
more
Recently updated
more
Most requested
more
Last requests
|