Interface GridFSBucketOptions

Hierarchy

Properties

bucketName?: string

The 'files' and 'chunks' collections will be prefixed with the bucket name followed by a dot.“files”和“chunks”集合将以桶名称为前缀,后跟一个句点。

chunkSizeBytes?: number

Number of bytes stored in each chunk. Defaults to 255KB每个区块中存储的字节数。默认为255KB

readPreference?: ReadPreference

Read preference to be passed to read operations要传递给读取操作的读取首选项

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

Generated using TypeDoc