Fat-Free Framework
3.2.2
|
MongoDB wrapper. More...
Public Member Functions | |
dsn () | |
uuid () | |
log () | |
drop () | |
__construct ($dsn, $dbname, array $options=NULL) | |
Public Attributes | |
$dsn | |
Data source name. | |
$log | |
MongoDB log. | |
const | E_Profiler ='MongoDB profiler is disabled' |
Protected Attributes | |
$uuid | |
UUID. | |
MongoDB wrapper.
DB\Mongo::__construct | ( | $dsn, | |
$dbname, | |||
array | $options = NULL |
||
) |
Instantiate class
$dsn | string |
$dbname | string |
$options | array |
DB\Mongo::drop | ( | ) |
Intercept native call to re-enable profiler
DB\Mongo::dsn | ( | ) |
Return data source name
DB\Mongo::log | ( | ) |
Return MongoDB profiler results
DB\Mongo::uuid | ( | ) |
Return UUID