Case insensitive search using Mongo's bson.M{}

后端 未结 0 1509
孤街浪徒
孤街浪徒 2021-02-05 22:24

I am trying to get my mongo query to perform a partial and case insensitive match. I am currently doing this

bson.M{"$regex": primitive.Regex{Pattern: r         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题