Skip to content

Add sql matcher toSetColumns #5

@atheck

Description

@atheck
toSetColumns([
  "column_a",
  "column_b"
], { onConflict: ["column_a"] });

verifies that "column_a" and "column_b" are set when inserting into a table, and also sets "column_b" when the insert conflicts on column "column_a".

It also verifies the correct order of columns.

This deprecates toUseColumnsInCorrectOrder for inserts.

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