Skip to content

Instantly share code, notes, and snippets.

@140am
Last active August 12, 2016 22:38
Show Gist options
  • Save 140am/563342 to your computer and use it in GitHub Desktop.
Save 140am/563342 to your computer and use it in GitHub Desktop.
print SQL CREATE from "sqlalchemy" DB tables
>>> from sqlalchemy.schema import CreateTable
>>> print CreateTable(model.TrafficLog.__table__)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment