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

mongoexport doesn't respect positional fields

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.0.4
    • 3.0.5, 3.1.4
    • mongoexport
    • windows, ubuntu
    • Kernel Tools Iteration 3.1.1, Kernel Tools Iteration 3.1.2, Kernel Tools Iteration 3, Kernel Tools Iteration 4
    • v3.0

    Description

      mongo
      db.foo.insert(

      {x:[1,2,3]}

      )
      exit
      mongoexport --db test --collection foo --csv --fields x.0,x.1
      // expected: positional field names worked in 2.6
      // actual: fields exported as blank strings. Values not exported.

      Attachments

        Activity

          People

            adinoyi.omuya@mongodb.com Adinoyi Omuya
            nuknuksan nuk nuk san
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: