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.tar.gz
(2.2 kB
view details)
File details
Details for the file sautils-0.4.tar.gz
.
File metadata
- Download URL: sautils-0.4.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c6dbb272399ca78fc5e2376d7c07c87d79e1345bfb9d2ab4425bb577389eb9f |
|
MD5 | ffd5cde0bffc00c8fd1c1742afb857f4 |
|
BLAKE2b-256 | 04c451f3001d11081db02a207fbc0aad6c32b390fd370a66c4616502ea81a068 |