类:Mongo::Operation::Delete::BulkResult
- 包括:
- 可聚合
- 定义于:
- lib/ Mongo/operation/ 删除/bulk_result.rb
Overview
定义批量写入时删除结果的自定义行为。
常量摘要
从Result继承的常量
Result::CURSOR 、 Result::CURSOR_ID 、 Result::FIRST_BATCH 、 Result::N 、 Result::NAMESPACE 、 Result::NEXT_BATCH 、 Result::OK 、 Result::RESULT
实例属性摘要
从Result继承的属性
#connection 、 #connection_description 、 #connection_global_id 、 #context 、 #replies
实例方法摘要折叠
-
# n_removed ⇒ 整数
获取已删除的文档数。
从Result继承的方法
#acknowledged?、 #cluster_time、 #cursor_id、 #文档、 #each、 #error、 #initialize、 #inspect、 #labels、 #命名空间、 #ok?、 #operation_time、 #reply、 #returned_count、 #snapshot_timestamp、 #成功?、 #topology_version、 #validate!、 #write_concern_error?、 #written_count
构造函数详情
该类从Mongo::Operation::Result继承了一个构造函数