Skip to content

Instantly share code, notes, and snippets.

@scabbiaza
Last active August 29, 2015 14:06
Show Gist options
  • Save scabbiaza/2cf48639bd1572e73107 to your computer and use it in GitHub Desktop.
Save scabbiaza/2cf48639bd1572e73107 to your computer and use it in GitHub Desktop.
Flask-SQLAlchemy sketches
# Execute plain query
db.engine.execute("Query here")
result = db.engine.execute("Query here")
for row in result:
print(row['id'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment