MongoCollection.deleteOne

Deletes at most one document matching the query filter. The returned result identifies how many documents have been deleted.

struct MongoCollection
@trusted
DeleteResult
deleteOne
(
T
)
(,
DeleteOptions options = DeleteOptions.init
)

See Also

Meta