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

mongoimport argument language

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: mongoimport
    • Platforms 2016-08-26
    • Needed

      The command line argument names for mongoimport are inconsistent and confusing. We use "fields" to specify the column headers inline. We use "fieldFile" to indicate a file which itself contains the column headers as an alternative to "fields". We use "headerLine" to indicate that the column headers are actually at the top of the file we are importing, not to provide the contents of that header itself.

      Proposed changes:
      Rename "fields" to "headers"
      Rename "fieldFile" to "headerFile"
      Rename "headerLine" to "fileHasHeader"

            Assignee:
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Reporter:
            zach.snow Zach Snow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: