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

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

공개 메소드들

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

비공개 메소드들

메소드 설명
executeCommand ( MongoDB\Driver\Server $server ) : IndexInfoIteratorIterator Returns information for all indexes for this collection using the listIndexes command.
executeLegacy ( MongoDB\Driver\Server $server ) : IndexInfoIteratorIterator Returns information for all indexes for this collection by querying the "system.indexes" collection (MongoDB <3.0).

메소드 상세

__construct() 공개 메소드

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

execute() 공개 메소드

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