Skip to content

Instantly share code, notes, and snippets.

@tell-k
Created September 13, 2012 14:11
Show Gist options
  • Save tell-k/3714563 to your computer and use it in GitHub Desktop.
Save tell-k/3714563 to your computer and use it in GitHub Desktop.
# Batch Insert
INSERT INTO entries (id, text, created_at) VALUES (%s, %s, %s)
((1, 'entrytext', datetime.datetime(2012, 9, 13, 23, 8, 38, 370579)), (2, 'entrytext', datetime.datetime(2012, 9, 13, 23, 8, 38, 370587)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment