GridFS

From DreamFactory
Jump to: navigation, search
Line 2: Line 2:
  
 
===Service Config===
 
===Service Config===
Even though it’s a file storage service, you'll notice that the service config tab looks very similar to a MongoDB service.
+
Even though it’s a file storage service, you'll notice that the service config tab looks very similar to a MongoDB service. Here you will need to enter in any MongoDB specific connection parameters. The database you select here will be the database where the two GridFS Collections are located. These will be by default, fs.files and fs.chunks.  
  
 
[[File:Screen Shot 2018-01-08 at 11.01.54 AM.png|400px|none|left|GridFS Service Config Example]]
 
[[File:Screen Shot 2018-01-08 at 11.01.54 AM.png|400px|none|left|GridFS Service Config Example]]

Revision as of 21:05, 9 January 2018

GridFS is a specification within MongoDB that allows for storing and retrieving files that exceed the BSON-document size limit of 16 MB. DreamFactory's GridFS service uses a MongoDB connection to create a Remote File Service, so you can interact with as you would with any other remote file service, such as AWS S3 or Azure Blob Storage.

Service Config

Even though it’s a file storage service, you'll notice that the service config tab looks very similar to a MongoDB service. Here you will need to enter in any MongoDB specific connection parameters. The database you select here will be the database where the two GridFS Collections are located. These will be by default, fs.files and fs.chunks.

GridFS Service Config Example