Php/docs/class.mongowriteconcernexception

提供:Dev Guides
< Php
2020年12月14日 (月) 13:15時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

(PECL mongo >= 1.5.0)

はじめに

MongoWriteConcernException is thrown when a write fails. See Write Concerns for how to set failure thresholds.

Prior to MongoDB 2.6.0, the » getLastError command would determine whether a write failed.


クラス概要


MongoWriteConcernException extends MongoCursorException {

/* 継承したプロパティ */

protected string $message

protected int $code

protected string $file

protected int $line

/* メソッド */

public getDocument ( ) : array

/* 継承したメソッド */

public MongoCursorException::getHost ( ) : string

}

目次