MongoDB$BulkWriteCommandResult クラス
定義
MongoDB\BulkWriteCommandResult
このクラスには、完了したクライアントの一括書込み (write)操作に関する情報が含まれています。
MongoDB\Client::bulkWrite()
から返されます。
メソッド
方式 | 説明 |
---|---|
| Returns the total number of documents inserted by all
insert operations in the bulk write command. |
| Returns the total number of documents matched by all
update and replace operations in the bulk write command. |
| Returns the total number of documents modified by all update
and replace operations in the bulk write command. |
| Returns the total number of documents upserted by all update
and replace operations in the bulk write command. |
| Return the total number of documents deleted by all delete
operations in the bulk write command. |
| Returns a map of results of each successful insert operation. Each
operation is represented by an integer key, which contains a
document with information corresponding to the operation such
as the inserted _id value. |
| Returns a map of results of each successful update operation. Each
operation is represented by an integer key, which contains a
document with information corresponding to the operation. |
| Returns a map of results of each successful delete operation.
Each operation is represented by an integer key, which contains
a document with information corresponding to the operation. |
| Returns a boolean indicating whether the server acknowledged
the bulk operation. |
クライアント一括書き込み操作を実行するときにサーバーから返される情報の詳細については、 Mongo.bulkWrite
シェルメソッド参照の 出力 セクションを参照してください。