在展开操作中使用Driver 2.0

时间:2015-04-18 16:18:38

标签: c# mongodb aggregation-framework fluent

使用MongoDB C#Driver 2.0 fluent API for Aggregate with Unwind运算符,参考文档(http://mongodb.github.io/mongo-csharp-driver/2.0/reference/driver/crud/reading/#unwind)指示使用以下

  

使用Unwind方法及其重载定义$ unwind阶段。   因为$ unwind是一种投影,您必须提供回报   类型。

不幸的是,它没有说明你应该如何提供这种类型。

有没有人有想法?

0 个答案:

没有答案