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

mongoimport argument language

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mongoimport
    • Documentation Changes:
      Needed

      Description

      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"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gabriel.russell Gabriel Russell
                Reporter:
                zach.snow Zach Snow
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: