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

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

공개 메소드들

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

비공개 메소드들

메소드 설명
executeCommand ( MongoDB\Driver\Server $server ) : CollectionInfoCommandIterator Returns information for all collections in this database using the listCollections command.
executeLegacy ( MongoDB\Driver\Server $server ) : CollectionInfoLegacyIterator Returns information for all collections in this database by querying the "system.namespaces" collection (MongoDB <3.0).

메소드 상세

__construct() 공개 메소드

Supported options: * filter (document): Query by which to filter collections. * maxTimeMS (integer): The maximum amount of time to allow the query to run.
public __construct ( string $databaseName, array $options = [] )
$databaseName string Database name
$options array Command options

execute() 공개 메소드

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