I have a collection named GoldenGlobes-emotion in my MongoDB 2.6.9 I found I can not access this collection from the MongoDB shell When ever I try to access the collection, for example
db.GoldenGlobes-emotion.findOne()
I always got this:
ReferenceError: emotion is not defined
But it works well when I access the collection form Python with PyMongo. Is this a shell bug? Or '-' is a reserved character?