今天开始看mongodb的一些基础知识,首先到了官网逛逛,发现这个页面挺有用的,http://docs.mongodb.org/manual/reference/database-references/,介绍了mongodb的数据结构等各种基本知识,后来发现博客园有篇文章不错,http://www.cnblogs.com/huangxincheng/archive/2012/02/19/2357846.html,名字是8天学通mongodb,学通大概有些夸张,不过基本能够上手了,另外发现博主对于mongodb的批量插入一带而过,自己又去度娘搜了一下,发现一段不错的java代码,其实就是连接到了db之后再用简单的for循环添加,不过对于初学者要搞通api'接口比较麻烦,所以直接看代码吧,看看大神怎么写的。出于对原作者的尊重,这里是地址,http://www.tuicool.com/articles/UJRVNf,以及一份单独写批量插入的代码,需要结合前面的代码才能看懂,http://blog.csdn.net/wwwyuanliang10000/article/details/38730429。嗯,紧跟大神脚步,每天进步一点点。