Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1241

Comment on: "manual/tutorial.txt"

    XMLWordPrintableJSON

Details

    Description

      while using mongoexport for json, sub field alone cannot be fetched.
      Eg:

      {a:6}

      {a:{b:5}}
      mongoexport --db dbname --collection colname --fields 'a.b' --out jsonfile.json
      O/P:

      {a:6}

      {a:{b:5}}
      My Expectation :
      {a:{b:5}}

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            auto auto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 44 weeks ago