mongoimport argument language

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: 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 (Inactive)
            Reporter:
            Zach Snow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: