Свойство | Тип | Описание | |
---|---|---|---|
$databases | array | ||
$options | array | ||
$path | string |
Метод | Описание | |
---|---|---|
__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 |