« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 3 of about 3 for getWriteConcernErrors (0.003 sec.)
MongoDB\Driver\Exception\BulkWriteCommandException::getWriteConcernErrors — Ret... 11775
MongoDB\Driver\Exception\BulkWriteCommandException::getWriteConcernErrors (mongodb >=2.1.0) MongoDB\Driver\Exception\BulkWriteCommandException::getWriteConcernErrors — Returns any write concern errors 説明 final public function MongoDB\Driv ... er\Exception\BulkWriteCommandException::getWriteConcernErrors (): array パラメータ この関数にはパラメータはありません。 戻り値 An array of any MongoDB\Driver\WriteConcernError s that o ... than one server command was required to execute the bulk write. 例 例1 MongoDB\Driver\Exception\BulkWriteCommandException::getWriteConcernErrors() example <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; $bulk -> insertOne ( ... [ 'writeConcern' => $writeConcern ]); } catch ( MongoDB\Driver\Exception\BulkWriteCommandException $e ) { var_dump ( $e -> getWriteConcernErrors ()); } ?> 上の例の出力は、 たとえば以下のようになります。 array(1) { [0]=> object(MongoDB\Driver\WriteConcernError)#6 (3) ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandexception.getwrite...
The MongoDB\Driver\Exception\BulkWriteCommandException class | PHP 8.3 8780
The MongoDB\Driver\Exception\BulkWriteCommandException class (mongodb >=2.1.0) はじめに Exception thrown due to failed execution of a MongoDB\Driver\BulkWriteCommand . The methods of this class provide more details of the error that occurre ... oDB\BSON\Document final public function getPartialResult (): ? MongoDB\Driver\BulkWriteCommandResult final public function getWriteConcernErrors (): array final public function getWriteErrors (): array /* 継承したメソッド */ final public function MongoDB\Driver\Excep ... tPartialResult — Returns the result of any successful write operations MongoDB\Driver\Exception\BulkWriteCommandException::getWriteConcernErrors — Returns any write concern errors MongoDB\Driver\Exception\BulkWriteCommandException::getWriteErrors — Returns any write ...
https://man.mtool.work/php/8.3/class.mongodb-driver-exception-bulkwritecommandex...
サンプル | PHP 8.3 7310
サンプル マニュアル内の全サンプルの一覧 Example#0 - 初歩的な例 Example#1 - 初めての PHP スクリプト: hello.php Example#2 - PHP からシステムに関する情報を取得する Example#3 - 変数を出力する (配列要素) Example#4 - 制御構造 および 関数の使用例 ... le#1613 - No partial result if no writes are successful Example#1614 - MongoDB\Driver\Exception\BulkWriteCommandException::getWriteConcernErrors example Example#1615 - MongoDB\Driver\Exception\BulkWriteCommandException::getWriteErrors example Example#1616 - MongoDB\D ...
https://man.mtool.work/php/8.3/indexes.examples.html
PREV 1 NEXT