]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Implement SQLite ON CONFLICT for constraints
authorDenis Kataev <denis.a.kataev+git@gmail.com>
Mon, 12 Mar 2018 15:40:34 +0000 (11:40 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 7 Nov 2018 23:26:40 +0000 (18:26 -0500)
commitde804d7245dd203bc63e4493162bcdf5e8646440
tree1a6287f154e4631ed7602687b2ed74a64abab2cc
parent15ac07f7b6c235131361f289d75d174c49afb0b5
Implement SQLite ON CONFLICT for constraints

Implemented the SQLite ``ON CONFLICT`` clause as understood at the DDL
level, e.g. for primary key, unique, and CHECK constraints as well as
specified on a :class:`.Column` to satisfy inline primary key and NOT NULL.
Pull request courtesy Denis Kataev.

Fixes: #4360
Change-Id: I4cd4bafa8fca41e3101c87dbbfe169741bbda3f4
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/431
doc/build/changelog/migration_13.rst
doc/build/changelog/unreleased_13/4360.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/sqlite/base.py
lib/sqlalchemy/sql/schema.py
test/dialect/test_sqlite.py