View Source Mongo.DeleteResult (mongodb-driver v1.5.0)

The successful result struct of Mongo.delete_one/4 and Mongo.delete_many/4. Its fields are:

  • :deleted_count - Number of deleted documents
  • :acknowledged - Write-concern

Summary

Types

@type t() :: %Mongo.DeleteResult{
  acknowledged: boolean(),
  deleted_count: non_neg_integer()
}