class Mongo::Operation::Delete::Result
Defines custom behavior of results for a delete.
@since 2.0.0 @api semiprivate
Public Instance Methods
bulk_result()
click to toggle source
@api public
# File lib/mongo/operation/delete/result.rb, line 39 def bulk_result BulkResult.new(@replies, connection_description) end
deleted_count()
click to toggle source
Get the number of documents deleted.
@example Get the deleted count.
result.deleted_count
@return [ Integer ] The deleted count.
@since 2.0.0 @api public
# File lib/mongo/operation/delete/result.rb, line 34 def deleted_count n end