mongodb-driver v0.5.2 Mongo.DeleteResult 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

Link to this type

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