Uploaded image for project: 'MongoDB Command Line Tools'
  1. MongoDB Command Line Tools
  2. TOOLS-67

Give mongoimport of CSV/TSVs a way to specify import types

    Details

    • Documentation Changes:
      Needed

      Description

      When using mongoimport to import a CSV, the field "0123" will get imported as the number 123 no matter what, there's no way to get mongoimport to treat it as a String.

      It could be nice to have an option to specify what type each field should be interpreted as. This could also be useful if we start supporting importing types beyond just strings and numbers (dates, for example).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zach.snow Zach Snow (Inactive)
                Reporter:
                spencer Spencer T Brody
              • Votes:
                20 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: