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

后端 未结 0 1932
被撕碎了的回忆
被撕碎了的回忆 2020-12-18 02:32

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         


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