MongoDB/PyMongo: how to 'escape' parameters in regex search?

后端 未结 0 1172
孤街浪徒
孤街浪徒 2020-12-18 02:49

I\'m using pymongo and want to do a search for items starting with a certain sequence of characters. I might implement that like this:

items = collection.fin         


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