c# - BsonSerializer Deserialize Script To Wrong BsonDocument -
i'm using dynamic js queries browser client .net server mongodb c# driver.
but passing query bsonserializer result bad deserializion.
bsondocument doc = bsonserializer.deserialize<bsondocument>("{policy:{'$gt':5}} ,{policy:1}");
the doc value: {{ "policy" : { "$gt" : 5 } }}
mongodb bug?
Comments
Post a Comment