MONGODBDRIVERWRITECONCERN(3) 1 MONGODBDRIVERWRITECONCERN(3)
The MongoDBDriverWriteConcern class
INTRODUCTION
MongoDBDriverWriteConcern controls the acknowledgment of a write operation, specifies the level of write guarantee for Replica Sets.
CLASS SYNOPSIS
MongoDBWriteConcern
final
MongoDBWriteConcern
Constants
o const string$MongoDBWriteConcern::MAJORITYmajority
Methods
o finalpublic MongoDBDriverWriteConcern::__construct (string $wstring, [integer $wtimeout], [boolean $journal], [boolean $fsync])
PREDEFINED CONSTANTS
o MongoDBDriverWriteConcern::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.
PHP Documentation Group MONGODBDRIVERWRITECONCERN(3)