Various SQLAlchemy utilities
Project description
Various SQLAlchemy utilities which are a little specific to be proposed to
main SQLAlchemy distribution.
Currently the following features are supported:
- insert_from_select(table, select) -- adapted from corresponding SQLAlchemy
example (all copyrights goes to @zzzeek)
- upsert_from_select(table, select) -- upsert via insert from select with left
join on target table
- upsert(table, **values) -- upsert of values
- sqltype(name) -- shortcut for defining ad-hoc types
main SQLAlchemy distribution.
Currently the following features are supported:
- insert_from_select(table, select) -- adapted from corresponding SQLAlchemy
example (all copyrights goes to @zzzeek)
- upsert_from_select(table, select) -- upsert via insert from select with left
join on target table
- upsert(table, **values) -- upsert of values
- sqltype(name) -- shortcut for defining ad-hoc types
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
sautils-0.4.1.tar.gz
(2.2 kB
view details)
File details
Details for the file sautils-0.4.1.tar.gz
.
File metadata
- Download URL: sautils-0.4.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f72cd6db9d10abfe16a483b32b2acc9030e7b347861dd15d9451282b38634f22 |
|
MD5 | 6beaa3651ff3ce90dad222f4447275c8 |
|
BLAKE2b-256 | bba3a56a00ef313947923a2332081192b0336870074618e79957c586e4e82b66 |