Skip to content

Support for DBMS Upsert expressions #71

Description

@sandro-salles

Hey Wesley!

Nice work done here, congratulations...!

I was starting to write a code that is somewhat similar to the bulk_upsert function from your code, but relying on the native DBMS UPSERT implementations (PostgreSQL 9.5 specially), where instead of two separate queries (bulk_create and bulk_update), the whole operation would happen on a single upsert query.

Do you sometime have considered using it? I think this would be a great performance improvement for the Django ORM!

As soon as i have a more stable version of my code i'll let you know so you can maybe collaborate!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions