PHP » GoLang |
login |
register |
about
|
GoLang MongoDB\Driver\Server::executeCommand
request it (428)
GoLang replacement for PHP's MongoDB\Driver\Server::executeCommand
[edit | history]
PHP MongoDB\Driver\Server::executeCommandPHP original manual for MongoDB\Driver\Server::executeCommand [ show | php.net ]MongoDB\Driver\Server::executeCommand(mongodb >=1.0.0) MongoDB\Driver\Server::executeCommand — Execute a database command on this server Description
final public MongoDB\Driver\Cursor MongoDB\Driver\Server::executeCommand
( string
$db
, MongoDB\Driver\Command $command
[, array $options = array()
] )Executes the command on this server. This method applies no special logic to the command. Although this method accepts "readConcern" and "writeConcern" options, which will be incorporated into the command document, those options will not default to corresponding values from the MongoDB Connection URI nor will the MongoDB server version be taken into account. Users are therefore encouraged to use specific read and/or write command methods if possible.
Parameters
Return ValuesReturns MongoDB\Driver\Cursor on success. Errors/Exceptions
Changelog
Notes
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|