Skip to main content

SQLAlchemy Print Query

Project description

SQLAlchemy Print Query

Install

pip install git+https://github.com/evangilo/sqlalchemyp#egg=sqlalchemyp

Usage

>>> from sqlalchemyp import print_sql
>>> print_sql(DBSession.query(Hero).filter_by(name='Spider-Man'), 'postgresql')
SELECT hero.id,
       hero.name
FROM hero
WHERE hero.name = 'Spider-Man';
>>>

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

sqlalchemyp-0.0.2.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

sqlalchemyp-0.0.2-py2-none-any.whl (1.9 kB view details)

Uploaded Python 2

File details

Details for the file sqlalchemyp-0.0.2.tar.gz.

File metadata

  • Download URL: sqlalchemyp-0.0.2.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

File hashes

Hashes for sqlalchemyp-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b3ef63a50723eea6497e0b02cfa88ed29a4d0a4cae4269bf1c166a45447c63c8
MD5 71e783b42f994d2b1f862035b5b5890d
BLAKE2b-256 3d0b5089407f6f01fd2b975a7faaefe91c108c0642ecd567f66748c744218dbf

See more details on using hashes here.

File details

Details for the file sqlalchemyp-0.0.2-py2-none-any.whl.

File metadata

  • Download URL: sqlalchemyp-0.0.2-py2-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

File hashes

Hashes for sqlalchemyp-0.0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 8ed5574251facc27bc6e2b99c27eb23cdade26eda66f098a0677286b44f1a66c
MD5 9ab491eeaf05f4662b80e3da32da172a
BLAKE2b-256 c1be02b5d974054903348b438b2acdb01fa1be943cc7ebed85a35fb9f3d796d6

See more details on using hashes here.

Supported by

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