Snippets about postgres

1 snippet

Back to all snippets

  1. SNP094

    Upsert in PostgreSQL

    Insert a row, or update it if it already exists, in one statement.

    6 lines of sql in 2 blocks, 5 lines of explanation.

    #591 sql postgres