SQLAlchemy Print Query
Project description
SQLAlchemy Print Query
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.3.tar.gz
(1.6 kB
view details)
Built Distribution
File details
Details for the file sqlalchemyp-0.0.3.tar.gz
.
File metadata
- Download URL: sqlalchemyp-0.0.3.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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
44214bf9b2ca8709d93106181bd5590cad07a410205fe1a36c6d3df41d1634c1
|
|
MD5 |
33d57f0651a300f705de70ac715a8c37
|
|
BLAKE2b-256 |
af61e253008c0aee4f3d23aae47f072a02f0abaf4fd3316c5f9da59d3a08d828
|
File details
Details for the file sqlalchemyp-0.0.3-py2-none-any.whl
.
File metadata
- Download URL: sqlalchemyp-0.0.3-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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8c04e576fc854f8f26cd9fb446e4094dcf4da34ace6a4688f52ed606ac96a49f
|
|
MD5 |
2016a8431038ecab89020997b1672883
|
|
BLAKE2b-256 |
80f6c383272c48d42f28e7c2822ae84c543490c29e722a62ef74ef0029a01a7d
|