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

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -