Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
method GridFSBucket.prototype.delete
import { GridFSBucket } from "https://deno.land/x/model@v1.2/dependencies/mongo.ts";

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

Parameters

id: FileId