Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2053

Not able to find Chinese character

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      I have the following document

       

      {{{ _id: ObjectId("60ccadfa1bef75796d4d9739"), id: '视频',
      }}}

      It can query when i use MongoSH

      db.myCollection.find({id: "视频"}).pretty()

       

      But when i use go driver, it return ErrNoDocuments

      .FindOne(ctx, bson.M{"id": "视频"{color:#d19a66}})

            Assignee:
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Reporter:
            weilun_95@hotmail.com Yong Wei Lun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: