python - pymongo如何在更新数据时添加新字段
阿神
阿神 2017-04-17 16:50:18
0
1
423
阿神
阿神

闭关修行中......

reply all(1)
洪涛

Are you asking questions without giving details and letting others guess blindly?

The question is, how many people are free?

Have you imported it since you used ObjectId?
Update operation reports an error, first check if there is any result in find?

This kind of question is not very different from
"I wrote a piece of code and an error occurred, what is the reason?"
.

In addition, copy your code completely
There is no problem in inserting only one piece of data and then performing the update operation.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template