Skip to content

Instantly share code, notes, and snippets.

@guschnwg
Created January 16, 2020 18:05
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 guschnwg/97c3d821a5c708d84d9d76de3557638e to your computer and use it in GitHub Desktop.
Save guschnwg/97c3d821a5c708d84d9d76de3557638e to your computer and use it in GitHub Desktop.
from sqlalchemy.dialects import postgresql
utils.logger.debug(query.statement.compile(dialect=postgresql.dialect(), compile_kwargs={"literal_binds": True}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment