Upsert

Latest version: v0.0.1

Safety actively analyzes 629052 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

0.3.4

* Bug fixes

* Allow upserting by auto-increment primary key (thanks atandrau https://github.com/seamusabshere/upsert/issues/3)

* Enhancements

* Make setter an optional argument

0.3.3

* Bug fixes

* Properly quote table names - don't assume that everybody has ANSI_QUOTES turned on in MySQL :)

0.3.2

* Enhancements

* Make sure ::PGconn is recognized as ::PG::Connection (thanks joevandyk https://github.com/seamusabshere/upsert/issues/2)

0.3.1

* Bug fixes

* On PostgreSQL, stop nullifying columns that weren't even involved in the upsert
* On SQLite, properly join WHERE conditions with ' AND ' instead of ','

0.3.0

* Enhancements

* Remove all the sampling - just keep a cumulative total of sql bytes as we build up an ON DUPLICATE KEY UPDATE query.
* Deprecate Upsert.stream in favor of Upsert.batch (but provide an alias for backwards compat)

0.2.2

* Bug fixes

* Correct and simplify how sql length is calculated when batching MySQL upserts.

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.