Gridfs

A primer for GridFS using the Mongo DB driver

A primer for GridFS using the Mongo DB driver In the first tutorial we targeted general usage of the database. But Mongo DB is much more than this. One of the additional very useful features is to act as a file storage system. This is accomplish in Mongo by having a file collection and a chunks collection where each document in the chunks collection makes up a Block of the file.