An index on
{ filename : 1, uploadDate : 1 }on the files collection must be created when a GridFSBucket object is created
If the index fails, recover gracefully and allow the user to continue as read-only.
An index on
{ filename : 1, uploadDate : 1 }on the files collection must be created when a GridFSBucket object is created
If the index fails, recover gracefully and allow the user to continue as read-only.