Friday, 6 September 2013

How to get _id with MongoEngine Flask

How to get _id with MongoEngine Flask

My code
user = Users.objects(email=email).limit(1)
Please help to get _id of each. (in Strint type)

No comments:

Post a Comment