![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mongodb
kinghoo_hash
create your own
展开
-
mongodb crud注意点
一、 原始数据: { "_id" : ObjectId("56a039fd8b04f95d2a8bbc95"), "title" : "I Have a Dream", "comments" : [ { "author" : "joe", "s原创 2016-01-21 11:05:51 · 100 阅读 · 0 评论 -
mongodb mapReduce aggregate
//函数准备: > function map(){ emit(this.name,{count:1}); } > function reduce(key,value){ var result = {count:0}; for(var i=0;i<value.length;i++){ result.count +...原创 2016-02-06 11:55:57 · 195 阅读 · 0 评论