Skip to main content

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

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

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page