Mongo.GridFs.Bucket.delete

You're seeing just the function delete, go back to Mongo.GridFs.Bucket module for more information.

Specs

delete(t(), String.t()) :: {:ok, Mongo.DeleteResult.t()}
delete(t(), BSON.ObjectId.t()) :: {:ok, Mongo.DeleteResult.t()}

Given a id, delete this stored file’s files collection document and associated chunks from a GridFS bucket.