How to find in a certain column in MongoDB for a word at the end of a string?

后端 未结 0 1584
迷失自我
迷失自我 2020-12-04 07:21
mysteryRestaurant = []
for rest in restaurants.find({"name": {"$regex" : "/Palace$/"}}):
    mysteryRestaurant.append(rest)
result = pd         


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