Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
post = {"_id": 'qwertyui123456',
'username': 'someone',
'name':'Gyan',
'address':'Somewhere in India'}
post_id = table.insert_one(post).inserted_id
post_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment