pymongo replace_one 更新数据
stat.replace_one(
{"city":ct,"region":rl,"district_name":lk,"date":date},
{"city":ct,"region":rl,"district_name":lk,
"index":mm, "date":date,"time":timm},True
)
stat.replace_one(
{"city":ct,"region":rl,"district_name":lk,"date":date},
{"city":ct,"region":rl,"district_name":lk,
"index":mm, "date":date,"time":timm},True
)