Changes between Initial Version and Version 1 of Ticket #34943


Ignore:
Timestamp:
Nov 2, 2023, 2:58:33 PM (7 months ago)
Author:
Mariusz Felisiak
Comment:

Sounds reasonable.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34943

    • Property Cc Vitor Pereira Chih Sean Hsu added
    • Property Triage Stage UnreviewedAccepted
    • Property Summary Support computed unique fields for INSERT ON CONFLICT ... UPDATESupport passing database expressions to bulk_create()'s unique_fields.
    • Property Type UncategorizedNew feature
  • Ticket #34943 – Description

    initial v1  
    1 #34277 added support for `INSERT ... ON CONFLICT(col1, col2) DO UPDATE SET ...`  In some cases, however, the unique constraint may be on computed columns, which cannot be used with `unique_fields` because they are directly quoted.
     1#31685 added support for `INSERT ... ON CONFLICT(col1, col2) DO UPDATE SET ...`  In some cases, however, the unique constraint may be on computed columns, which cannot be used with `unique_fields` because they are directly quoted.
    22
    33For instance:
Back to Top