Skip to content

Docs warning: email unique #2457

@lalala0312

Description

@lalala0312

https://neon.tech/postgresql/postgresql-tutorial/postgresql-merge
In PostgreSQL MERGE statement examples
Image
if you set email unique, you can't insert like it
INSERT INTO leads(name, email) VALUES ('John Doe', '[[email protected]](../cdn-cgi/l/email-protection.html)'), ('Jane Doe', '[[email protected]](../cdn-cgi/l/email-protection.html)') RETURNING *;

Expected results:
Image

Actual result:
Image

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