Skip to main content
Extremely Popular
Go to Latest
interface GridFSUploadOptions
import { type GridFSUploadOptions } from "https://deno.land/x/mongo@v0.31.2/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.