Skip to content

Is this query possible with the current OnDuplicate()? #344

@scoman81

Description

@scoman81
INSERT INTO pubs (ownerid, pubtype, revision)
VALUES (?, ?, ?)
ON DUPLICATE KEY UPDATE revision = revision + 1;

I'm not finding a way to accomplish this with the current OnDuplicate() implementation. Have I missed something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions