Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17459 программистов и 1645 роботов. Сейчас ищут 1218 программистов ...
The MongoDB\Driver\WriteConcern class
Вернуться к: MongoDB\Driver
(mongodb >=1.0.0)
Введение
MongoDB\Driver\WriteConcern describes the level of acknowledgement requested from MongoDB for write operations to a standalone mongod or to replica sets or to sharded clusters. In sharded clusters, mongos instances will pass the write concern on to the shards.
Обзор классов
final
MongoDB\Driver\WriteConcern
{
/* 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.
Содержание
- MongoDB\Driver\WriteConcern::__construct — Construct immutable WriteConcern
- MongoDB\Driver\WriteConcern::getJournal — Returns the WriteConcern's "journal" option
- MongoDB\Driver\WriteConcern::getW — Returns the WriteConcern's "w" option
- MongoDB\Driver\WriteConcern::getWtimeout — Returns the WriteConcern's "wtimeout" option
Вернуться к: MongoDB\Driver