[DOCS-2656] Unable to export a collection from mongodb Created: 04/Feb/14  Updated: 03/Nov/17  Resolved: 04/Feb/14

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Improvement Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Unassigned
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

mongodb

Location: http://docs.mongodb.org/manual/faq/
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.102 Safari/537.36
Referrer: http://docs.mongodb.org/manual/
Screen Resolution: 1366 x 768
repo: docs
source: faq


Participants:
Days since reply: 10 years, 2 weeks, 1 day ago

 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



 Comments   
Comment by Sam Kleinman (Inactive) [ 04/Feb/14 ]

Please address these kinds of queries to one of our official support channels: http://www.mongodb.org/about/support/

Generated at Thu Feb 08 07:43:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.