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

mongoexport doesn't respect positional fields

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 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@mongodb.com Adinoyi Omuya
            Reporter:
            nuknuksan nuk nuk san
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: