GridFSBucketOptions | mongodb (original) (raw)
Interface GridFSBucketOptions
Hierarchy (view full)
- WriteConcernOptions
- GridFSBucketOptions
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
Read preference to be passed to read operations
Optional
Experimental
timeoutMS
timeoutMS?: number
Specifies the lifetime duration of a gridFS stream. If any async operations are in progress when this timeout expires, the stream will throw a timeout error.
Optional
writeConcern
Write Concern as an object