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 hashes)