The MongoDB\Driver\WriteConcern class

(mongodb >=1.0.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.

Зміст

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top