Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GridFSBucketOptions

Hierarchy

Index

Properties

Optional bucketName

bucketName?: string

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

Optional chunkSizeBytes

chunkSizeBytes?: number

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

Optional readPreference

readPreference?: ReadPreference

Read preference to be passed to read operations

Optional writeConcern

Write Concern as an object

Generated using TypeDoc