MongoDB\Driver\BulkWrite::update
MongoDB\Driver\WriteConcern::__construct
MongoDB\Driver
PHP Manual

# The MongoDB\Driver\WriteConcern class

(mongodb >=0.2.0)

## Introduction

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

## Class synopsis

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

## Predefined Constants

`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

- MongoDB\Driver\WriteConcern::__construct — Construct immutable WriteConcern

MongoDB\Driver\BulkWrite::update
MongoDB\Driver\WriteConcern::__construct
MongoDB\Driver
PHP Manual