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

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

Link to this section Summary

Link to this section Types

Specs

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