« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 1 of about 1 for UnknownError (0.000 sec.)
MongoDB\Driver\Exception\BulkWriteCommandException::getErrorReply — Returns any... 9414
MongoDB\Driver\Exception\BulkWriteCommandException::getErrorReply (mongodb >=2.1.0) MongoDB\Driver\Exception\BulkWriteCommandException::getErrorReply — Returns any top-level command error 説明 final public function MongoDB\Driver\Exception\ ... Point' => 'failCommand' , 'mode' => [ 'times' => 1 ], 'data' => [ 'failCommands' => [ 'bulkWrite' ], 'errorCode' => 8 , /* UnknownError */ ], ])); $bulk = new MongoDB\Driver\BulkWriteCommand ; $bulk -> insertOne ( 'db.coll' , [ 'x' => 1 ]); try { $result = $ ... loat(0) ["errmsg"]=> string(43) "Failing command via 'failCommand' failpoint" ["code"]=> int(8) ["codeName"]=> string(12) "UnknownError" ["$clusterTime"]=> object(stdClass)#10 (2) { ["clusterTime"]=> object(MongoDB\BSON\Timestamp)#6 (2) { ["increment"]=> str ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandexception.geterror...
PREV 1 NEXT