PHP 클래스 MongoLite\Client

파일 보기 프로젝트 열기: sjardim/Hugopit

보호된 프로퍼티들

프로퍼티 타입 설명
$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

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( string $path, array $options = [] )
$path string
$options array

__get() 공개 메소드

public __get ( $database )

listDBs() 공개 메소드

List Databases
public listDBs ( ) : array
리턴 array List of databases

selectCollection() 공개 메소드

Select Collection
public selectCollection ( string $database, string $collection ) : object
$database string
$collection string
리턴 object

selectDB() 공개 메소드

Select database
public selectDB ( string $name ) : object
$name string
리턴 object

프로퍼티 상세

$databases 보호되어 있는 프로퍼티

protected array $databases
리턴 array

$options 보호되어 있는 프로퍼티

protected array $options
리턴 array

$path 보호되어 있는 프로퍼티

protected string $path
리턴 string