PHP Class MongoQP\QueryProfiler

Afficher le fichier Open project: jmikola/mongoqp

Méthodes publiques

Méthode Description
__construct ( MongoClient $mongo, array $code )
getCollections ( $database )
getDatabases ( )
getProfilingData ( $database, $collection = null )
getProfilingLevel ( $database )
setProfilingLevel ( $database, $level )

Method Details

__construct() public méthode

public __construct ( MongoClient $mongo, array $code )
$mongo MongoClient
$code array

getCollections() public méthode

public getCollections ( $database )

getDatabases() public méthode

public getDatabases ( )

getProfilingData() public méthode

public getProfilingData ( $database, $collection = null )

getProfilingLevel() public méthode

public getProfilingLevel ( $database )

setProfilingLevel() public méthode

public setProfilingLevel ( $database, $level )