[Solution found!] 在pymongo中,您可以使用以下内容mycollection.update({'_id':mongo_id}, {"$set": post}, upsert=False) 进行更新:如果在数据库中未找到该帖子, ...
確定! 回上一頁