PHP Velho Oeste 2024

La classe MongoWriteConcernException

(PECL mongo >= 1.5.0)

Introduction

MongoWriteConcernException est émise lorsqu'une écriture échoue. Voir Write Concerns pour savoir comment configurer le seuil de l'échec.

Avant MongoDB 2.6.0 la commande » getLastError déterminait si un échec d'écriture avait lieu.

Synopsis de la classe

MongoWriteConcernException extends MongoCursorException {
/* Propriétés héritées */
protected string message ;
protected int code ;
protected string file ;
protected int line ;
/* Méthodes */
public getDocument ( void ) : array
/* Méthodes héritées */
public MongoCursorException::getHost ( void ) : string
}

Sommaire

add a note add a note

User Contributed Notes

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