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. |
클라이언트 대량 쓰기 (write) 작업을 수행할 때 서버 에서 반환되는 정보에 대해 자세히 학습 셸 메서드 참조의 출력 Mongo.bulkWrite
섹션을 참조하세요.
다음도 참조하세요.
대량 쓰기 작업 가이드 의 클라이언트 대량 쓰기 섹션