在pymongo中: update方法已经逐渐废弃了。最好用update_one或者update_many,取决于你想更新一条还是多条符合条件的记录. self.mycol.update_one(. dataUpdateQuery,.
確定! 回上一頁