PHP Class Phalcon\Db\Adapter\MongoDB\Operation\ListDatabases

See also: MongoDB\Client::listDatabases()
See also: http://docs.mongodb.org/manual/reference/command/ListDatabases/
Inheritance: implements Phalcon\Db\Adapter\MongoDB\Operation\Executable
Afficher le fichier Open project: phalcon/incubator Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( array $options = [] ) Constructs a listDatabases command.
execute ( MongoDB\Driver\Server $server ) : Phalcon\Db\Adapter\MongoDB\Model\DatabaseInfoIterator Execute the operation.

Method Details

__construct() public méthode

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

execute() public méthode

Execute the operation.
See also: Executable::execute()
public execute ( MongoDB\Driver\Server $server ) : Phalcon\Db\Adapter\MongoDB\Model\DatabaseInfoIterator
$server MongoDB\Driver\Server
Résultat Phalcon\Db\Adapter\MongoDB\Model\DatabaseInfoIterator