Django-pgbulk

Latest version: v3.2.0

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

Scan your dependencies

Page 5 of 6

1.2.1

Not secure
Trivial

- Updated with latest Django template, fixing doc builds [Wes Kendall, c3ed424]

1.2.0

Not secure
Feature

- Handle func-based fields and allow expressions in upserts [Wes Kendall, 64458c5]

``pgbulk.upsert`` allows users to provide a ``pgbulk.UpdateField`` object
to the ``update_fields`` argument, allowing a users to specify an expression
that happens if an update occurs.

This allows, for example, a user to do ``models.F('my_field') + 1`` and
increment integer fields in a ``pgbulk.upsert``.

Along with this, fields that cast to ``Func`` and other expressions are
properly handled during upsert.

1.1.1

Not secure
Trivial

- Updates to latest template, dropping py3.6 support and adding Django4 support [Wes Kendall, 35a04b0]

1.1.0

Not secure
Bug

- Fix error when upserting custom AutoFields [Wes Kendall, 114eb45]

``upsert()`` previously errored when using a custom auto-incrementing field. This
has been tested and fixed.

1.0.2

Not secure
Trivial

- Updated with the latest Django template [Wes Kendall, 71a2678]

1.0.1

Not secure
Trivial

- Update with the latest public django app template. [Wes Kendall, 271b456]

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.