teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

ソースミス

2020/10/10 13:08

投稿

taiki9121
taiki9121

スコア18

title CHANGED
File without changes
body CHANGED
@@ -10,5 +10,6 @@
10
10
  def update_many(self, df, now):
11
11
  d = df.to_dict(orient='index')
12
12
  for id in df.index:
13
+ d[id]["updatedAt"] = now
13
14
  db.collection.update_one(filter={"id": id}, update={"$set": d[id]})
14
15
  ```