I wrote a script that uses mongoimport to load csv files into mongodb. When I run this for two similar csv files (of the same type) both upload fine, however I can only acce
This works for me when my collection names include special characters:
db["3mLgQAYJCq6_20110802"].findOne();
The collection name should start with a letter or the underscore.You can get the info about the naming convention for the collections in mongodb from below link- http://www.mongodb.org/display/DOCS/Collections
lovely collection names... it's probably because it's starts with a 3
.