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