Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 mongo 本机 api 中,可以执行以下操作:
db.collection.find({ "field" : { $gt: value1, $lt: value2 } } ); // 值 1 < 字段 < 值
我怎样才能用 NoRM 达到同样的效果
最好的问候, 德米特里·叶戈罗夫
刚刚将此支持添加到 repo,Adam 添加了 LINQ 支持以执行以下操作..
collection.Find({"field" : Q.GreaterThan(value1).And(Q.GreaterThan(value2))});