©
This document uses PHP Chinese website manual Release
(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.