Skip to main content

SQLAlchemy Print Query

Project description

SQLAlchemy Print Query

Build Status PyPI version

Install

pip install 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.4.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

sqlalchemyp-0.0.4-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sqlalchemyp-0.0.4.tar.gz
  • Upload date:
  • Size: 1.7 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.33.0 CPython/3.7.2

File hashes

Hashes for sqlalchemyp-0.0.4.tar.gz
Algorithm Hash digest
SHA256 20554406cc0611488cd245c193897f22a2239cfc9c0e9e38bacd2c41f6e0f54d
MD5 c720b7688cebe03ff42d769f5df15fe9
BLAKE2b-256 fb55d77b096b15bc12fd028381941721345cc94b878b95342d50646d564f304d

See more details on using hashes here.

File details

Details for the file sqlalchemyp-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: sqlalchemyp-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • 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.33.0 CPython/3.7.2

File hashes

Hashes for sqlalchemyp-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 834fb1b24bebe947ed54a00acd851936e3dc3dd9189444839768ddf6cabbe194
MD5 bf02317a5aa0945ce8f908c3e413aa2e
BLAKE2b-256 227373be4c7e6fa7fc0d4d36840575e383e97677590b1c1a5dfce68d46293407

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