class Mongo::Operation::Write::Delete::Result

Defines custom behaviour of results for a delete.

@since 2.0.0

Public Instance Methods

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

# File lib/mongo/operation/write/delete/result.rb, line 33
def deleted_count
  n
end