Interface GridFSBucketOptions

Hierarchy

Properties

bucketName?: string

The 'files' and 'chunks' collections will be prefixed with the bucket name followed by a dot.

chunkSizeBytes?: number

Number of bytes stored in each chunk. Defaults to 255KB

readPreference?: ReadPreference

Read preference to be passed to read operations

Write Concern as an object

Generated using TypeDoc