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

mongoimport argument language

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • mongoimport
    • Platforms 2016-08-26
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: