Class: Mongo::Operation::Delete::Result
- Inherits:
-
Operation::Result
- Object
- Operation::Result
- Mongo::Operation::Delete::Result
- Defined in:
- lib/mongo/operation/delete/result.rb
Overview
Defines custom behavior of results for a delete.
Instance Method Summary collapse
- #bulk_result ⇒ Object
-
#deleted_count ⇒ Integer
Get the number of documents deleted.
Instance Method Details
#bulk_result ⇒ Object
39 40 41 |
# File 'lib/mongo/operation/delete/result.rb', line 39 def bulk_result BulkResult.new(@replies, connection_description) end |
#deleted_count ⇒ Integer
Get the number of documents deleted.
34 35 36 |
# File 'lib/mongo/operation/delete/result.rb', line 34 def deleted_count n end |