In mongo native api it is possible to do following:
db.collection.find({ "field" : { $gt: value1, $lt: value2 } }开发者_Python百科 ); // value1 < field < value
How could I achieve the same with NoRM
Best regards, Dmitry Egorov
Just added this support to the repo, also Adam added LINQ support to do the following..
collection.Find({"field" : Q.GreaterThan(value1).And(Q.GreaterThan(value2))});
精彩评论