PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

The MongoDB\Driver\WriteConcern class | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

The MongoDB\Driver\WriteConcern class

(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 implements MongoDB\BSON\Serializable {
/* Constants */
const string MAJORITY = "majority" ;
/* メソッド */
final public object bsonSerialize ( void )
final public __construct ( string|integer $w [, integer $wtimeout [, boolean $journal ]] )
final public boolean|null getJournal ( void )
final public string|integer|null getW ( void )
final public integer getWtimeout ( void )
final public boolean isDefault ( void )
}

定義済み定数

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.

変更履歴

バージョン 説明
1.2.0 Implements MongoDB\BSON\Serializable.

目次


忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「The MongoDB\Driver\WriteConcern class」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | The MongoDB\Driver\WriteConcern class」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: