mongoengine update() keywords must be strings

python2.7+mongoengine有报错: update() keywords must be strings

写python碰到这个问题还是小小懵了一下,查了下发现:

DictField字段更新的键必须是字符串类型,而我出错的地方是用int类型数字作为键


猜你喜欢

转载自blog.csdn.net/heybob/article/details/74744686
今日推荐