Interface GridFSBucketWriteStreamOptions

Hierarchy

Properties

aliases?: string[]

Array of strings to store in the file document's aliases field要存储在文件文档的aliases字段中的字符串数组

chunkSizeBytes?: number

Overwrite this bucket's chunkSizeBytes for this file覆盖此文件的桶的chunkSizeBytes

contentType?: string

String to store in the file document's contentType field要存储在文件文档的contentType字段中的字符串

Custom file id for the GridFS file.GridFS文件的自定义文件id。

metadata?: Document

Object to store in the file document's metadata field对象存储在文件文档的metadata字段中

Write Concern as an object将关注作为对象写入

Generated using TypeDoc