PHP Velho Oeste 2024

MongoResultException クラス

(PECL mongo >=1.3.0)

はじめに

MongoResultException は (MongoCollection::findAndModify() など) いくつかのコマンドヘルパーで、失敗した場合にスローする例外です。 元の結果ドキュメントは MongoResultException::getDocument() で取得できます。

クラス概要

MongoResultException extends MongoException {
/* プロパティ */
public document ;
/* 継承したプロパティ */
protected string message ;
protected int code ;
protected string file ;
protected int line ;
/* メソッド */
public getDocument ( void ) : array
}

プロパティ

document

生の結果ドキュメントの配列。

目次

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top