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 -

c# - PHP script ,MySQL -

javascript - Updating a Nested Array with MongoDB -