Exceptions
PHP Manual

The MongoWriteConcernException class

(PECL mongo >= 1.5.0)

Einführung

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.

Klassenbeschreibung

MongoWriteConcernException extends MongoCursorException {
/* Geerbte Eigenschaften */
protected string $message ;
protected int $code ;
protected string $file ;
protected int $line ;
/* Methoden */
public array getDocument ( void )
/* Geerbte Methoden */
public string MongoCursorException::getHost ( void )
}

Inhaltsverzeichnis


Exceptions
PHP Manual