Skip to content

Instantly share code, notes, and snippets.

Created February 8, 2020 07:29
What would you like to do?
import datetime
new_posts = [{"name": "Mike",
"username": "latestpost!",
"date": datetime.datetime(2009, 11, 12, 11, 14)},
{"name": "Eliot",
"title": "onceAgain",
"text": "and pretty easy too!",
"date": datetime.datetime(2009, 11, 10, 10, 45)}]
final = table.insert_many(new_posts)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment