Hinweis |
---|
The editing feature of GridFS documents is a feature of the paid version not available in the Community Edition of Mongo Management Studio. |
There are 4 functions options available to edit an existing GridFS collection, which are be displayed as is seen in the following detail view of a document in the list view:
Deleting the document
Click on the recycle bin icon to delete the GridFS document with the corresponding file from the MongoDB server instance after confirmedconfirming the security query.
Editing
Here, the fields of documents can be edited. It is recommended not to change the existing fields, except for filename and contentType. If you want to store additional information in a document, you can store them in the metadata field.
Warnung |
---|
You should never change the _id field, otherwise the reference to the chunks collection is lost and the file can not be loaded anymore. |
...
Uploading a file
By clicking on clicking the "Upload file" button, a popup opens. Here you can replace the file stored in the document. SelectingSelection of the file again takes place via drag and drop or by using the buttons "select file" button. As soon as you click on click "Save", the current file of the document is replaced with the new one.
...
Downloading a file
Click on the download icon and you can to download the file , which that is stored in the GridFS document.