Create native GridFS integration (or document recipes)
See original GitHub issueHow can we specify the GridFS collection name (not the FilesCollection collectionName)? It defaults to fs. and I cant get it to accept new name.
Issue Analytics
- State:
- Created 5 years ago
- Comments:18 (8 by maintainers)
Top Results From Across the Web
Create native GridFS integration (or document recipes) #616
Hello @hluz , The name of the collections in GridFS is out of our control, as it hard-coded in MongoDB's specs.
Read more >GridFS — Node.js - MongoDB
In this guide, you can learn how to store and retrieve large files in MongoDB using GridFS. GridFS is a specification that describes...
Read more >How can I use GridFS to load a file on the server after I create ...
I do have code to load files client side using GridFS but I am having a hard time changing the code to work...
Read more >A primer for GridFS using the Mongo DB driver
Let's dive straight into a simple example on how to write a file to the grid using the simplified Grid class. var MongoClient...
Read more >Vmc - River Thames Conditions
Paper forms, Red bowtie mud flaps, Geiranger valldal ferry timetable, ... Fly insect types, Lucarelli restaurant italy, Garlic sauce recipe pasta, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

a small improvement over @hluz ’ suggestion above:
this is bad, because if it can’t read the file, this will crash the server. Better handle it:
EDIT: i forget to set the cache control!
@hluz no worries.
Actually we wish to fork
gridfs-streamand keep it in up-to-date shape 😃 . We all were sad to discover it in a such badly maintained state. Or maybe @aheckmann could give us a push rights to repository, or better transfer it to us (including NPM)? @aheckmann if you’re reading this, take a look at our experience, for years we keep many packages in up-to-date state, taking care of every ticket and PR. Consider giving your child into good hands 😃