]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add support for filtered indexes for mssql dialect
authormollardthomas <mollardthomas@gmail.com>
Fri, 3 May 2019 15:31:57 +0000 (11:31 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 6 May 2019 22:11:52 +0000 (18:11 -0400)
commit2512211e324e6c4663ad879e41406d6764453b07
treeead0550387dda31e14f1b4970597d9e7669bdc08
parentb058e7ae99890f981c8df016a314283a2a3f68a2
Add support for filtered indexes for mssql dialect

Added support for SQL Server filtered indexes, via the ``mssql_where``
parameter which works similarly to that of the ``postgresql_where`` index
function in the PostgreSQL dialect.

Fixes: #4657
Closes: #4658
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4658
Pull-request-sha: cf609c19bccc74c0dba38d2fc4976df3a205f3f6

Change-Id: I9c61b97d0b0cb6f6d417da7b1875b40f8f918a3c
(cherry picked from commit 174f2ae33b5235d709b17f3371946a173defaa0d)
doc/build/changelog/unreleased_13/4657.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mssql/base.py
test/dialect/mssql/test_compiler.py