PHP Velho Oeste 2024

The MongoWriteConcernException class

(PECL mongo >= 1.5.0)

Giriş

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.

Sınıf Sözdizimi

MongoWriteConcernException extends MongoCursorException {
/* Miras alınan özellikler */
protected string message ;
protected int code ;
protected string file ;
protected int line ;
/* Yöntemler */
public getDocument ( void ) : array
/* Miras alınan yöntemler */
public MongoCursorException::getHost ( void ) : string
}

İçindekiler

add a note add a note

User Contributed Notes

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