MongoDB\Driver
PHP Manual

The MongoDB\Driver\WriteConcern class

(mongodb >=0.2.0)

Giriş

MongoDB\Driver\WriteConcern controls the acknowledgment of a write operation, specifies the level of write guarantee for Replica Sets.

Sınıf Sözdizimi

final MongoDB\Driver\WriteConcern {
/* Constants */
const string MAJORITY = majority ;
/* Yöntemler */
final public __construct ( string $wstring [, integer $wtimeout [, boolean $journal [, boolean $fsync ]]] )
}

Öntanımlı Sabitler

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.

İçindekiler


MongoDB\Driver
PHP Manual