Show all fields in GridFS documents
MongoChef makes the same mistake as other popular GUIs in thinking that GridFS documents just contain a fixed set of fields. However, this is patently false; GridFS documents can contain arbitrary fields just like any other document but MongoChef makes absolutely no provision for displaying these.
This was fixed in 5.3.0
-
Bilge commented
Thanks Thomas.
-
Thomas (3T) commented
@Bilge
You're quite right. I just verified in the official MongoDB docs (https://docs.mongodb.org/manual/core/gridfs/#use-gridfs) and it says for the files collection of your GridFS bucket:
"Documents in the files collection contain some or all of the following fields. Applications may create additional arbitrary fields:"
Thanks for alerting us to this. I have added it to our to-do list.