Monogdb 按2个字段值之间的比较

使用 $where

BsonDocument query = new BsonDocument("$where", "this.soDate<this.pEffDate");//{$where:"this.soDate<this.pEffDate"}

原文地址:https://www.cnblogs.com/94cool/p/6840898.html