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{acknowledged: term(), deleted_count: term()}}
delete(t(), BSON.ObjectId.t()) :: {:ok, %Mongo.DeleteResult{acknowledged: term(), deleted_count: term()}}
Given a id
, delete this stored file’s files collection document and
associated chunks from a GridFS bucket.