« MongoDB\Driver\Exception\AuthenticationException
Search
MongoDB\Driver\Exception\BulkWriteException::getWriteResult »
PHP Manual
MongoDB\Driver\Exception
La classe MongoDB\Driver\Exception\BulkWriteException
La classe MongoDB\Driver\Exception\BulkWriteException
(mongodb >= 1.0.0)
Introduction
Levée lorsqu'une opération d'écriture en bloc échoue.
Synopsis de la classe
class
MongoDB\Driver\Exception\BulkWriteException
extends
MongoDB\Driver\Exception\ServerException
implements
MongoDB\Driver\Exception\Exception
{
/* Propriétés */
protected
MongoDB\Driver\WriteResult
$
writeResult
;
/* Propriétés héritées */
protected
?
array
$
errorLabels
;
protected
string
$
message
= ""
;
private
string
$
string
= ""
;
protected
int
$
code
;
protected
string
$
file
= ""
;
protected
int
$
line
;
private
array
$
trace
= []
;
private
?
Throwable
$
previous
= null
;
/* Méthodes */
final
public
getWriteResult
():
MongoDB\Driver\WriteResult
/* Méthodes héritées */
final
public
MongoDB\Driver\Exception\RuntimeException::hasErrorLabel
(
string
$errorLabel
):
bool
final
public
Exception::getMessage
():
string
final
public
Exception::getPrevious
():
?
Throwable
final
public
Exception::getCode
():
int
final
public
Exception::getFile
():
string
final
public
Exception::getLine
():
int
final
public
Exception::getTrace
():
array
final
public
Exception::getTraceAsString
():
string
public
Exception::__toString
():
string
private
Exception::__clone
():
void
}
Propriétés
writeResult
Le
MongoDB\Driver\WriteResult
associé à l'opération d'écriture échouée.
Historique
Version
Description
PECL mongodb 2.0.0
Cette classe étend désormais
MongoDB\Driver\Exception\ServerException
au lieu de
MongoDB\Driver\Exception\WriteException
.
Sommaire
MongoDB\Driver\Exception\BulkWriteException::getWriteResult
— Renvoie le WriteResult pour l'opération d'écriture échouée
↑
and
↓
to navigate •
Enter
to select •
Esc
to close •
/
to open