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.3.tar.gz
(1.9 kB
view details)
File details
Details for the file sautils-0.3.tar.gz
.
File metadata
- Download URL: sautils-0.3.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 646802c67cb88728d98e7a4ccb03d7796d0a721380a6fc002ad5b9a9e2b5ad2c |
|
MD5 | b273548fdd83370ef4644f3fbf0bc39a |
|
BLAKE2b-256 | ebb7c69dfa955254d85f2ec2f95a22893b068275ebb2be2a6a2720b23410d0c8 |