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

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: mongofiles

      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.

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

              Created:
              Updated: