MongoDB Aggregation使用官方C#驱动程序?

时间:2013-02-17 02:20:41

标签: c# mongodb mongodb-.net-driver

我正在使用官方C#驱动程序。不知道实现这个:
    Select MAX(TimeStamp) as MaxTimeStamp, ExtNo From AgentStatus Where TimeStamp>=@begin and TimeStamp <=@end Group By ExtNo
任何帮助?谢谢!

1 个答案:

答案 0 :(得分:0)

已经使用MapReduce来解决问题:)一个简单的演示HERE