PHP 클래스 Phalcon\Db\Adapter\MongoDB\Operation\ListDatabases

또한 보기: MongoDB\Client::listDatabases()
또한 보기: http://docs.mongodb.org/manual/reference/command/ListDatabases/
상속: implements Phalcon\Db\Adapter\MongoDB\Operation\Executable
파일 보기 프로젝트 열기: phalcon/incubator 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $options = [] ) Constructs a listDatabases command.
execute ( MongoDB\Driver\Server $server ) : Phalcon\Db\Adapter\MongoDB\Model\DatabaseInfoIterator Execute the operation.

메소드 상세

__construct() 공개 메소드

Supported options: * maxTimeMS (integer): The maximum amount of time to allow the query to run.
public __construct ( array $options = [] )
$options array Command options

execute() 공개 메소드

Execute the operation.
또한 보기: Executable::execute()
public execute ( MongoDB\Driver\Server $server ) : Phalcon\Db\Adapter\MongoDB\Model\DatabaseInfoIterator
$server MongoDB\Driver\Server
리턴 Phalcon\Db\Adapter\MongoDB\Model\DatabaseInfoIterator