update : 2015.11.03
php.shukuma.com검색:
|
MongoDB\Driver\Manager::executeCommand(mongodb >=0.2.0) MongoDB\Driver\Manager::executeCommand — Execute a MongoDB database command 설명
final public MongoDB\Driver\Cursor MongoDB\Driver\Manager::executeCommand
( string
$db
, MongoDB\Driver\Command $command
[, MongoDB\Driver\ReadPreference $readPreference
] )
Executes 인수
반환값Returns MongoDB\Driver\Cursor on success, throws exception (instanceof MongoDB\Driver\Exception) on failure. 오류/예외
예제Example #1 MongoDB\Driver\Manager::executeCommand() example
<?php 위 예제의 출력 예시: array(1) { ["ok"]=> float(1) } 주의
|