©
本文档使用
php.cn手册 发布
(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