The MongoDB\Driver\Exception\BulkWriteException class
(mongodb >= 1.0.0)
Introduction
Thrown when a bulk write operation fails.
Class synopsis
class MongoDB\Driver\Exception\BulkWriteException extends MongoDB\Driver\Exception\ServerException implements MongoDB\Driver\Exception\Exception {
/* Properties */
/* Inherited properties */
/* Methods */
/* Inherited methods */
}Properties
- writeResult
The MongoDB\Driver\WriteResult associated with the failed write operation.
Changelog
| Version | Description |
|---|---|
| PECL mongodb 2.0.0 | This class now extends MongoDB\Driver\Exception\ServerException instead of MongoDB\Driver\Exception\WriteException. |
Table of Contents
- MongoDB\Driver\Exception\BulkWriteException::getWriteResult — Returns the WriteResult for the failed write operation
↑ and ↓ to navigate • Enter to select • Esc to close • / to open