Skip to content

Foreign key constraint error to be handled for merge statements too. - MSSQL  #7011

@rdhanasekar

Description

@rdhanasekar

Please include the merge statement in the foreign key constraint error handler in MSSQL query.js

err.message.match(/The MERGE statement conflicted with the FOREIGN KEY constraint "(.)". The conflict occurred in database "(.)", table "(.)", column '(.)'./);

__Dialect: mssql

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