Свойство | Type | Description | |
---|---|---|---|
$databases | array | ||
$options | array | ||
$path | string |
Méthode | Description | |
---|---|---|
__construct ( string $path, array $options = [] ) | Constructor | |
__get ( $database ) | ||
listDBs ( ) : array | List Databases | |
selectCollection ( string $database, string $collection ) : object | Select Collection | |
selectDB ( string $name ) : object | Select database |
public __construct ( string $path, array $options = [] ) | ||
$path | string | |
$options | array |