问题
I'm using the official C# driver.Have no idea to implement this:Select MAX(TimeStamp) as MaxTimeStamp, ExtNo From AgentStatus Where TimeStamp>=@begin and TimeStamp <=@end Group By ExtNo
Any Help?Thanks!
回答1:
Already use MapReduce to solve the problerm :) A simple demo HERE
来源:https://stackoverflow.com/questions/14917362/mongodb-aggregation-using-official-c-sharp-driver