Home > gridfs-extra > getGridFSBucketOptions
getGridFSBucketDb returns mongodb gridFS bucket options which is used to create this bucket.
this not a wrapper of mongodb public native api, so use this method carefully
Signature:
declare function getGridFSBucketOptions(bucket: mongodb.GridFSBucket): mongodb.GridFSBucketOptions;
Parameter | Type | Description |
---|---|---|
bucket | mongodb.GridFSBucket | a mongodb gridFS bucket |
Returns:
mongodb.GridFSBucketOptions
a bucket options