Class: Mongo::Operation::Write::Bulk::Delete::Result

Inherits:
Result
  • Object
show all
Includes:
Aggregatable, Mergable
Defined in:
lib/mongo/operation/write/bulk/delete/result.rb

Overview

Defines custom behaviour of results when deleting.

Since:

  • 2.0.0

Constant Summary

REMOVED =

The aggregate number of deleted docs reported in the replies.

Since:

  • 2.0.0

'nRemoved'.freeze

Constants inherited from Result

Result::CURSOR, Result::CURSOR_ID, Result::FIRST_BATCH, Result::N, Result::NAMESPACE, Result::NEXT_BATCH, Result::OK, Result::RESULT

Instance Attribute Summary

Attributes inherited from Result

#replies

Method Summary

Methods included from Aggregatable

#n_removed

Methods included from Mergable

#aggregate_write_concern_errors, #aggregate_write_errors

Methods inherited from Result

#acknowledged?, #cursor_id, #documents, #each, #initialize, #inspect, #multiple?, #namespace, #ok?, #reply, #returned_count, #successful?, #validate!, #written_count

Constructor Details

This class inherits a constructor from Mongo::Operation::Result