PHP - Manual: MongoWriteConcernException
2024-12-23
(PECL mongo >= 1.5.0)
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.
官方地址:https://www.php.net/manual/en/class.mongowriteconcernexception.php