Skip to content

[FEATURE]: Support onConflict with composite primary keys #1029

Closed
@Nick-Mazuk

Description

Describe what you want

According to the type definitions, you cannot currently set the target of onConflictDoUpdate to a composite primary key.

https://orm.drizzle.team/docs/crud#onconflict-and-upsert-insert-or-update

It would be great to use composite primary keys in onConflictDoUpdate inserts.

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions