©
本文档使用 PHP中文网手册 发布
(mongodb >=1.0.0)
MongoDB\Driver\WriteConcern controls the acknowledgment of a write operation, specifies the level of write guarantee for Replica Sets.
$wstring
[, integer $wtimeout
[, boolean $journal
[, boolean $fsync
]]] )MongoDB\Driver\WriteConcern::MAJORITY
Majority of all the members in the set; arbiters, non-voting members, passive members, hidden members and delayed members are all included in the definition of majority write concern.