Convert ObjectId to str in MongoDB

前端 未结 0 786
孤独总比滥情好
孤独总比滥情好 2021-02-01 00:49

I am using MongoDB with Python and MongoEngine. I would like to convert all _id from ObjectId to str after each DB query. Is there any way

相关标签:
回答
  • 消灭零回复
提交回复
热议问题