Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-6053

Comment on: "mongodb-ecosystem/drivers/csharp.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      Hi!

      I'm using dynamic js queries from browser client to .Net server with mongodb c# driver.

      But passing the query to the BsonSerializer result with bad Deserializion.

      BsonDocument doc = BsonSerializer.Deserialize<BsonDocument>("{Policy:{'$gt':5}} ,

      {Policy:1}

      ");

      the doc value: {{ "Policy" :

      { "$gt" : 5 }

      }}

      Driver Bug?

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 26 weeks, 1 day ago