Skip to main content

a tool for debug sqlalchemy model

Project description

You can write code in your application:

from sqlalchemy_debug import debug_statement
model = "your ORM Model"
statement = session.query(...)
debug_statement(statement)

record = model.__table__.insert(...)
debug_statement(record)

debug_statement(model) # show create table statement

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sqlalchemy_debug-0.3.4.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distributions

sqlalchemy_debug-0.3.4-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

sqlalchemy_debug-0.3.4-py2-none-any.whl (2.5 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page