mongoexport doesn't respect positional fields

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.0.5, 3.1.4
    • Affects Version/s: 3.0.4
    • Component/s: mongoexport
    • Environment:
      windows, ubuntu
    • Kernel Tools Iteration 3.1.1, Kernel Tools Iteration 3.1.2, Kernel Tools Iteration 3, Kernel Tools Iteration 4
    • v3.0

      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.

              Assignee:
              Adinoyi Omuya (Inactive)
              Reporter:
              nuk nuk san
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: