Can't access collection from the shell - SyntaxError: missing ; before statement (shell):1

前端 未结 3 433
眼角桃花
眼角桃花 2021-01-17 23:51

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

3条回答
  •  难免孤独
    2021-01-18 00:13

    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

提交回复
热议问题