Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GridFSBucketOptions

Constructor for a streaming GridFS interface.

see

http://mongodb.github.io/node-mongodb-native/2.1/api/GridFSBucket.html

Hierarchy

  • GridFSBucketOptions

Index

Properties

Optional ReadPreference

ReadPreference: Object

Optional read preference to be passed to read operations.

Optional bucketName

bucketName: undefined | string

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

Optional chunkSizeBytes

chunkSizeBytes: undefined | number

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

Optional writeConcern

writeConcern: Object

Optional write concern to be passed to write operations, for instance { w: 1 }.

Generated using TypeDoc