Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2949

Add option to add arbitrary metadata to GridFS file during upload

    XMLWordPrintableJSON

Details

    • Task
    • Status: Accepted
    • Minor - P4
    • Resolution: Unresolved
    • None
    • None
    • mongofiles

    Description

      Currently in mongofiles, the only form of metadata we allow for a GridFS file is with the -t / --type option. This specifies the type of the file, but there's no mechanism to actually specify any metadata that would have that type.

      The GridFS files.contentType field is also deprecated, so we might want to consider removing the --type option altogether and replacing it with a --metadata option.

      Attachments

        Activity

          People

            Unassigned Unassigned
            evgeni.dobranov@mongodb.com Evgeni Dobranov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: