Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Extremely Popular
Latest
method GridFSBucket.prototype.downloadToStream
import { GridFSBucket } from "https://deno.land/x/mongo@v0.33.0/src/gridfs/bucket.ts";

Downloads the contents of the stored file specified by @id and writes the contents to the @destination Stream.

Parameters

id: FileId
destination: WritableStream<Uint8Array>