]> 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 00:47:57 +0000 (19:47 -0500)
commited39e846cd8ae2714c47fc3d563582f72483df0c
treea5c26e979adf3fbd00c34a9ca1f8b63b7423e51c
parentdb2344b0a2a9ef164651d645a8da2d7a9d1bc250
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
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