diff options
| -rw-r--r-- | doc/build/changelog/unreleased_14/5169.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/build/changelog/unreleased_14/5169.rst b/doc/build/changelog/unreleased_14/5169.rst new file mode 100644 index 000000000..e43e451cc --- /dev/null +++ b/doc/build/changelog/unreleased_14/5169.rst @@ -0,0 +1,13 @@ +.. change:: + :tags: bug, sql, postgresql, mysql, sqlite + :tickets: 5169 + + An informative error message is now raised for a selected set of DML + methods (currently all part of :class:`_dml.Insert` constructs) if they are + called a second time, which would implicitly cancel out the previous + setting. The methods altered include: + :class:`_sqlite.Insert.on_conflict_do_update`, + :class:`_sqlite.Insert.on_conflict_do_nothing` (SQLite), + :class:`_postgresql.Insert.on_conflict_do_update`, + :class:`_postgresql.Insert.on_conflict_do_nothing` (PostgreSQL), + :class:`_mysql.Insert.on_duplicate_key_update` (MySQL)
\ No newline at end of file |
