随笔分类 -  MongoDB

记录MongoDB常用查询
摘要:db.wuba_houseranking_20180913140000.aggregate([{$group:{"_id": { "city" : "$city", "type": "$type",} ,"number":{$sum:1}}},{$project:{"_id": false, "ci 阅读全文
posted @ 2018-05-09 16:02 山高似水深 阅读(252) 评论(0) 推荐(0)
有一些sql 是必须要做笔记的!!
摘要:结果: 阅读全文
posted @ 2017-07-03 11:33 山高似水深 阅读(276) 评论(0) 推荐(0)