©
This document uses PHP Chinese website manual Release
(mongodb >=1.0.0)
$namespace
, MongoDB\Driver\BulkWrite $bulk
[, MongoDB\Driver\WriteConcern $writeConcern
] )$db
, MongoDB\Driver\Command $command
[, MongoDB\Driver\ReadPreference $readPreference
] )$namespace
, MongoDB\Driver\Query $query
[, MongoDB\Driver\ReadPreference $readPreference
] )MongoDB\Driver\Server::TYPE_MONGOS
MongoDB\Driver\Server::TYPE_STANDALONE
MongoDB\Driver\Server::TYPE_ARBITER
MongoDB\Driver\Server::TYPE_SECONDARY
MongoDB\Driver\Server::TYPE_PRIMARY