diff options
| author | Alex Grönholm <alex.gronholm@nextday.fi> | 2016-04-11 17:01:42 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-06-01 12:57:36 -0400 |
| commit | a8e7bb8782ca8fd858ac036082104b4ac2991cfc (patch) | |
| tree | c3b2a3c1e68b364e33feacd91221b405c6ad737f /doc | |
| parent | 3f55039e7f15efafacc3e8e0fbf0ba38fa612b09 (diff) | |
| download | sqlalchemy-a8e7bb8782ca8fd858ac036082104b4ac2991cfc.tar.gz | |
Implemented CHECK constraint reflection for SQLite and PostgreSQL
Co-Authored-By: Mike Bayer <mike_mp@zzzcomputing.com>
Change-Id: Ie6cf2d2958d1c567324db9e08fef2d3186e97350
Pull-request: https://bitbucket.org/zzzeek/sqlalchemy/pull-requests/80
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/changelog/changelog_11.rst | 11 | ||||
| -rw-r--r-- | doc/build/changelog/migration_11.rst | 16 |
2 files changed, 27 insertions, 0 deletions
diff --git a/doc/build/changelog/changelog_11.rst b/doc/build/changelog/changelog_11.rst index 27513e569..f86a0f1dc 100644 --- a/doc/build/changelog/changelog_11.rst +++ b/doc/build/changelog/changelog_11.rst @@ -30,6 +30,17 @@ data type. Pull request courtesy Sheila Allen. .. change:: + :tags: feature, sql + :pullreq: bitbucket:80 + + Implemented reflection of CHECK constraints for SQLite and Postgresql. + This is available via the new inspector method + :meth:`.Inspector.get_check_constraints` as well as when reflecting + :class:`.Table` objects in the form of :class:`.CheckConstraint` + objects present in the constraints collection. Pull request courtesy + Alex Grönholm. + + .. change:: :tags: change, orm :tickets: 3394 diff --git a/doc/build/changelog/migration_11.rst b/doc/build/changelog/migration_11.rst index 093946130..b32183a6e 100644 --- a/doc/build/changelog/migration_11.rst +++ b/doc/build/changelog/migration_11.rst @@ -2033,6 +2033,14 @@ emits:: :ticket:`2729` +Check constraints now reflect +----------------------------- + +The Postgresql dialect now supports reflection of CHECK constraints +both within the method :meth:`.Inspector.get_check_constraints` as well +as within :class:`.Table` reflection within the :attr:`.Table.constraints` +collection. + Support for PyGreSQL -------------------- @@ -2220,6 +2228,14 @@ foreign key constraints in recent SQLAlchemy versions. :ticket:`3629` +Check constraints now reflect +----------------------------- + +The SQLite dialect now supports reflection of CHECK constraints +both within the method :meth:`.Inspector.get_check_constraints` as well +as within :class:`.Table` reflection within the :attr:`.Table.constraints` +collection. + Dialect Improvements and Changes - SQL Server ============================================= |
