]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
add partial index predicate to SQLiteDialect.get_indexes() result
authorTobias Pfeiffer <tgp@preferred.jp>
Mon, 28 Nov 2022 12:52:31 +0000 (07:52 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 29 Nov 2022 01:53:20 +0000 (20:53 -0500)
commit5cb7bf8137becbc40d12ffd4dcaf49d23913a926
tree084a45b6017d024b4786926cacc369062f87a048
parent178620b793c00b07dc5f288fbbad83b9e448b6d2
add partial index predicate to SQLiteDialect.get_indexes() result

Added support for reflection of expression-oriented WHERE criteria included
in indexes on the SQLite dialect, in a manner similar to that of the
PostgreSQL dialect. Pull request courtesy Tobias Pfeiffer.

Fixes: #8804
Closes: #8806
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/8806
Pull-request-sha: 539dfcb372360911b69aed2a804698bb1a2220b1

Change-Id: I0e34d47dbe2b9c1da6fce531363084843e5127a3
(cherry picked from commit ed39e846cd8ae2714c47fc3d563582f72483df0c)
doc/build/changelog/unreleased_14/8804.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/sqlite/base.py
lib/sqlalchemy/testing/suite/test_reflection.py
test/dialect/test_sqlite.py