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: ReadPreference

Optional read preference to be passed to read operations.

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 writeConcern

writeConcern: WriteConcern

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

Generated using TypeDoc