PyMongo delete document by type

后端 未结 0 1090
忘了有多久
忘了有多久 2021-01-28 22:15
...
CB = conn[\'Cashbook\']

def CB_del_mult(search,value):
   query = {search:value}
   CB.delete.many(query)

CB.delete_many(\'Amount\'," { $type : \'string\' }&q         


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