MongoDB\Driver\Server
PHP Manual

MongoDB\Driver\Server::executeCommand

(mongodb >=0.2.0)

MongoDB\Driver\Server::executeCommandDescription

説明

final public ReturnType MongoDB\Driver\Server::executeCommand ( string $db , Command $command )

パラメータ

db

command

返り値

エラー / 例外

例1 MongoDB\Driver\Server::executeCommand() example

<?php

/* ... */

?>

上の例の出力は、 たとえば以下のようになります。

...

参考


MongoDB\Driver\Server
PHP Manual