Class: Mongo::Operation::Write::Delete::Result
- Defined in:
- lib/mongo/operation/write/delete/result.rb
Overview
Defines custom behaviour of results for a delete.
Constant Summary
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
Instance Method Summary collapse
-
#deleted_count ⇒ Integer
Get the number of documents deleted.
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
Instance Method Details
#deleted_count ⇒ Integer
Get the number of documents deleted.
33 34 35 |
# File 'lib/mongo/operation/write/delete/result.rb', line 33 def deleted_count n end |