Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
interface GridFSUploadOptions
import { type GridFSUploadOptions } from "https://deno.land/x/mongo@v0.31.0/src/types/gridfs.ts";

Properties

optional
chunkSizeBytes: number

The number of bytes per chunk of this file. Defaults to the chunkSizeBytes in the GridFSBucketOptions.

optional
metadata: Document

User data for the 'metadata' field of the files collection document. If not provided the driver MUST omit the metadata field from the files collection document.