level 1
我的linux服务器上装的mongodb 2.0.4版本
用mongo命令启动mongo shell后,
输入db.my_col.aggregate({$match:{"_id" : ObjectId("58b90b46600a380b4718077a")}})
提示:Mon Mar 27 21:06:20 TypeError: db.my_col.aggregate is not a function (shell):1
求问一下,这是2.0.4版本不支持aggregate吗,还是需要用别的什么命令啊?
2017年03月28日 02点03分
1