Interface GridFSBucketWriteStreamOptions

Hierarchy

Properties

aliases?: string[]

Array of strings to store in the file document's aliases field.

Deprecated

Will be removed in the next major version. Add an aliases field to the metadata document instead.

chunkSizeBytes?: number

Overwrite this bucket's chunkSizeBytes for this file

contentType?: string

String to store in the file document's contentType field.

Deprecated

Will be removed in the next major version. Add a contentType field to the metadata document instead.

Custom file id for the GridFS file.

metadata?: Document

Object to store in the file document's metadata field

Write Concern as an object

Generated using TypeDoc