I am new to mongodb. When i tried to import csv data into a collection, i
get this error: unexpected identifier
I have attached a screenshot for the same. Please someone help me with this
issue.
Should i specify any path for this csv file. As of now my csv file is on
desktop location and i didn't provide any path for it.
Is it correct to save it in the desktop or should i save it in a different
location.
mongoimport --db users --collection contacts --type csv --file /opt/backups/contacts.csv
Also I didn't understand this /opt/backups/contacts.csv
Thanks
Gopichand J
--
--
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To post to this group, send email to mongodb-user@googlegroups.com
To unsubscribe from this group, send email to
mongodb-user+unsubscribe@googlegroups.com
See also the IRC channel -- freenode.net#mongodb
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.