MongoDB\Driver
PHP Manual

The MongoDB\Driver\WriteConcern class

(mongodb >=0.2.0)

Einführung

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

Klassenbeschreibung

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

Vordefinierte Konstanten

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.

Inhaltsverzeichnis


MongoDB\Driver
PHP Manual