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

返回值

错误/异常

范例

Example #1 MongoDB\Driver\Server::executeCommand() example

<?php

/* ... */

?>

以上例程的输出类似于:

...

参见


MongoDB\Driver\Server
PHP Manual