PHP » GoLang |
login |
register |
about
|
GoLang MongoDB\Driver\Manager::executeReadCommand
request it (441)
GoLang replacement for PHP's MongoDB\Driver\Manager::executeReadCommand
[edit | history]
PHP MongoDB\Driver\Manager::executeReadCommandPHP original manual for MongoDB\Driver\Manager::executeReadCommand [ show | php.net ]MongoDB\Driver\Manager::executeReadCommand(mongodb >=1.4.0) MongoDB\Driver\Manager::executeReadCommand — Execute a database command that reads Description
final public MongoDB\Driver\Cursor MongoDB\Driver\Manager::executeReadCommand
( string
$db
, MongoDB\Driver\Command $command
[, array $options = array()
] )Selects a server according to the "readPreference" option and executes the command on that server. By default, the read preference from the MongoDB Connection URI will be used. This method will apply logic that is specific to commands that read (e.g. » count) and take the MongoDB server version into account. The "readConcern" option will default to the corresponding value from the MongoDB Connection URI. Parameters
Return ValuesReturns MongoDB\Driver\Cursor on success. Errors/Exceptions
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|