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

Unable to export a collection from mongodb

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      I am using a command :
      mongoexport --db col --collection tops --csv --out topics.csv OR
      mongoexport --db col --collection tops --json --out topics.json

      I am getting " SyntaxError: Unexpected identifier ". Please tell me what is wrong with the syntax

      Attachments

        Activity

          People

            Unassigned Unassigned
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 2 weeks, 1 day ago