Skip to content

Instantly share code, notes, and snippets.

@sh4nks
Created February 25, 2013 20:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sh4nks/d107ca0449be6a1aab29 to your computer and use it in GitHub Desktop.
Save sh4nks/d107ca0449be6a1aab29 to your computer and use it in GitHub Desktop.
sqlalchemy logging output
INFO:sqlalchemy.engine.base.Engine:BEGIN (implicit)
INFO:sqlalchemy.engine.base.Engine:SELECT posts.pid AS posts_pid, posts.title AS posts_title, posts.body AS posts_body, posts.date_created AS posts_date_created, posts.user_id AS posts_user_id, count(posts.pid = comments.post_id) AS count_1
FROM posts, comments
INFO:sqlalchemy.engine.base.Engine:()
INFO:sqlalchemy.engine.base.Engine:SELECT users.uid AS users_uid, users.fullname AS users_fullname, users.username AS users_username, users.email AS users_email, users.password AS users_password, users.about_me AS users_about_me, users.location AS users_location, users.sex AS users_sex, users.lastvisit AS users_lastvisit, users.regdate AS users_regdate, users.timeonline AS users_timeonline, users.group_id AS users_group_id
FROM users
WHERE users.uid = ?
INFO:sqlalchemy.engine.base.Engine:(1,)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment