标签: mongodb flask mongoengine flask-mongoengine
jsonify(User.objects.paginate(page=page_num, per_page=10).items)
返回用户文档ID
{ '_id':{ '$oid':'abc123' } ... }
返回{'id': 'abc123',...}的正确方法是什么
{'id': 'abc123',...}