In mongoDB I am creating collection which contains special names for ex-
> db.createCollection("collection-demo")
{ "ok" : 1 }
but when I am trying to access the collection it gives error
> db.collection-demo.find()
2015-07-09T14:44:56.603+0530 ReferenceError: demo is not defined
How to access this collection using command line?