update : 2015.11.03
php.shukuma.com

검색:
 
 
The MongoDB\Driver\WriteConcern class

The MongoDB\Driver\WriteConcern class

(mongodb >=0.2.0)

소개

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

클래스 개요

final MongoDB\Driver\WriteConcern {
/* Constants */
const string MAJORITY = majority ;
/* 메소드 */
final public __construct ( string $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.

Table of Contents