isForeignKeyViolation function
Whether it is PostgresqlException about the violation of foreign keys.
Implementation
bool isForeignKeyViolation(ex) => isViolation(ex, pgForeignKeyViolation);
Whether it is PostgresqlException about the violation of foreign keys.
bool isForeignKeyViolation(ex) => isViolation(ex, pgForeignKeyViolation);