pymongo update () 的第三個參數是 upsert ,必須傳遞布爾值,而不是字典。 將代碼更改為:. 复制代码. self.word_counts[source].update({'date':posttime}, ...
確定! 回上一頁