PHP - Manual: MongoDB\Driver\Exception\WriteException
2024-11-13
(mongodb >= 1.0.0)
Base class for exceptions thrown by a failed write operation. The exception encapsulates a MongoDB\Driver\WriteResult object.
The MongoDB\Driver\WriteResult associated with the failed write operation.
版本 | 说明 |
---|---|
PECL mongodb 1.5.0 |
This class now extends MongoDB\Driver\Exception\ServerException instead of MongoDB\Driver\Exception\RuntimeException. |
官方地址:https://www.php.net/manual/en/class.mongodb-driver-exception-writeexception.php